mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 19:04:14 +00:00
Previously, we were breaking up digits into groups without regard for the locale's minimumGroupingDigits value in the CLDR. This value is 1 in most locales, but is 2 in locales such as pl-PL. What this means is that in those locales, the group separator should only be inserted if the thousands group has at least 2 digits. So 1000 is formatted as "1,000" in en-US, but "1000" in pl-PL. And 10000 is "10,000" in en-US and "10 000" in pl-PL. |
||
|---|---|---|
| .. | ||
| CharacterTypes.cpp | ||
| CharacterTypes.h | ||
| CMakeLists.txt | ||
| CurrencyCode.cpp | ||
| CurrencyCode.h | ||
| DateTimeFormat.cpp | ||
| DateTimeFormat.h | ||
| Forward.h | ||
| Locale.cpp | ||
| Locale.h | ||
| NumberFormat.cpp | ||
| NumberFormat.h | ||