Opened 10 years ago
Last modified 10 years ago
#24181 closed Bug
THOUSAND_SEPARATOR strings are reversed — at Version 1
Reported by: | Kay Cha | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | 1.7 |
Severity: | Normal | Keywords: | l10n |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Hi.
numberformat moduler returns a reversed number as a string when THOUSAND_SEPARATOR has letters with l18n.
# mysite/formats/ko/formats.py THOUSAND_SEPARATOR = 'comma'
{% load humanize %} {{10000|intcomma}}
- current output : 10ammoc000
- correct output : 10comma000
Note:
See TracTickets
for help on using tickets.