krakjoe / ui

Cross platform UI development in PHP
Other
518 stars 39 forks source link

Numbers use system locale #25

Open rinu opened 7 years ago

rinu commented 7 years ago

When the extension is enabled, PHP starts formatting numbers with my system locale. In Estonia we use comma instead of dot as floating point separator. This is an issue because it breaks all unit tests that assume the standard floating point separator.

In the UI elements created of course I want to see number formatted with my locale but that option should be off by default.