Page MenuHomePhabricator

formatnum to handle thousands separator correctly in finnish
Closed, ResolvedPublic

Description

Author: agony79

Description:
According Kielitoimisto (finnish language "maintainer" and recommendations office) strongly recommends that thousands separator (which is space in finnish) should be used always when value is not a year. At the moment {{formatnum:1234}} does not render space, but output number "as is" (1234). When used five numbers (like {{formatnum:12345}} or {{formatnum:1234.5}}) or more, function works as it should be. Function should be modified to output also four number values with thousands separator (ie. {{formatnum:1234}} = 1 234), but of course not if value itself is less than thousand ({{formatnume:123.4}} = 123,4).


Version: unspecified
Severity: enhancement

Details

Reference
bz13435

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:06 PM
bzimport set Reference to bz13435.
bzimport added a subscriber: Unknown Object (MLST).