piebro / openstreetmap-statistics

Monthly updated interactive statistics about OpenStreetMap.
https://piebro.github.io/openstreetmap-statistics/
MIT License
34 stars 6 forks source link

The separation of digits of numbers broke the sorting of columns #91

Closed deevroman closed 1 year ago

deevroman commented 1 year ago
Снимок экрана 2023-05-03 в 23 25 55
piebro commented 1 year ago

Thanks, yes, that's an interesting bug. I use the JS function toLocaleString() and I didn't realize that this has some other pretty wild number representations. I just switched to represent numbers with "," used in "en-US". All other text is in English anyway, so I think the localization does not make that much sense. This should be fixed with this patch #92.