Page MenuHomePhabricator

[time ui] commas as thousands separator for years faulty
Closed, ResolvedPublic

Description

Author: felix

Description:
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:

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".

year is "12345670000".
Displayed is "in 12345670,000 years" (1 comma).
Correct would be "in 12,345,670,000 years" (3 commas).


Version: unspecified
Severity: normal
Whiteboard: backlog, papercut

Details

Reference
bz58391

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:16 AM
bzimport set Reference to bz58391.
bzimport added a subscriber: Unknown Object (MLST).