https://bugzilla.wikimedia.org/show_bug.cgi?id=58391

       Web browser: ---
            Bug ID: 58391
           Summary: [time ui] commas as thousands separator for years
                    faulty
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: fe...@fex-it.de
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Commas are used as a thousands separator for years.
The year 10000 is displayed as "10,000". This is fine.

For larger year, like 10 million years, instead of
"10,000,000" (2 commas) only "10000,000" (1 comma) is displayed.

Besides the simple UI flaw, this also leads to irritations as it seems for
speakers of languages which use commas as decimal mark, that the precision is
changed and that instead of 10 million, 10 thousand with a precision of 3
decimal places (10,000.000) is stored in the database.

Examples:
- https://www.wikidata.org/wiki/Q744718
Start is 358.9 million years ago.
Displayed is "358900,000 years ago" (1 comma).
Correct would be "358,900,000 years ago" (2 commas) or,
respecting precision=4 "358.9 million years ago".

- https://test.wikidata.org/wiki/Q108
year is "12345670000".
Displayed is "in 12345670,000 years" (1 comma).
Correct would be "in 12,345,670,000 years" (3 commas).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to