Opened 10 years ago

Last modified 10 years ago

#24181 closed Bug

THOUSAND_SEPARATOR strings are reversed — at Initial Version

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

Hi.

numberformat moduler returns a reversed number as a string when THOUSAND_SEPARATOR has letters with l18n.

# coding: utf-8
# mysite/formats/ko/formats.py

THOUSAND_SEPARATOR = u'comma'
{% load humanize %}

{{10000|intcomma}}
  • current output : 10ammoc000
  • correct output : 10comma000

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top