intcomma & thousand separator
|Reported by:||Owned by:||Grepsd|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||yes|
The intcomma template filter from the humanize package isn't doing the thousand separating if you're not setting the USE_THOUSAND_SEPARATOR to True.
If you set the USE_THOUSAND_SEPARATOR, every number display in the template is processed, so the intcomma won't change that.
The intcomma should do the thousand separating without relying on the USE_THOUSAND_SEPARATOR setting.
NB : intcomma is calling number_format which is calling numberformat.format.
(from rev: 16168)
Change History (7)
comment:2 Changed 6 years ago by
|Owner:||changed from nobody to Grepsd|
|Version:||1.3 → SVN|
comment:3 Changed 6 years ago by
|Component:||Template system → contrib.humanize|
|Patch needs improvement:||set|
|Triage Stage:||Design decision needed → Accepted|