openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Improve statistics numbers

Open vjik opened this issue 8 months ago • 3 comments

Description

Improve numbers format on statistics page.

Before:

image

After:

image

How has this been tested?

Manually

vjik avatar May 08 '25 14:05 vjik

Hi,

Can you please squash your commits into one and remove empty parentheses when calling format()?

Thanks!

nenad-vujicic avatar May 08 '25 15:05 nenad-vujicic

This is the script that generates the page on planet.osm.org yes - that's the only place this output will appear these days though there is probably a redirect from the main site for historical reasons.

It's basically a piece of historical legacy from the very early days that I'd really like to get rid of to be honest - there are probably far better sources of statistics these days.

It certainly used to be the case that Andy Robinson collected that page every day and generated graphs showing the change over time but I have no idea if he still does that.

tomhughes avatar May 08 '25 16:05 tomhughes

Can you please squash your commits into one and remove empty parentheses when calling format()?

done

vjik avatar May 09 '25 08:05 vjik