#20601: Incorrect separators when chaining floatformat to intcomma in some 
locales
-------------------------------------+-------------------------------------
     Reporter:  c.schmitt@…          |                    Owner:  Jacob
                                     |  Walls
         Type:  New feature          |                   Status:  closed
    Component:  Template system      |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
  internationalization, humanize,    |  checkin
  contrib, float, floatcomma         |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Cassiano R. N. dos Santos):

 Is this fixed for Django 2.2

 Doing
 {{{
 {{ variable | intcomma | floatformat:2 }}
 }}}
  or
 {{{
 {{ variable | floatformat:2 | intcomma }}
 }}}
  does not work.

 In the first case results broken, and in second, gives, e.g. 1,000,00 when
 the correct would be 1.000,00 for pt-BR (brazilian portuguese).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20601#comment:24>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.061e9fee736b6896bc42395315e89cea%40djangoproject.com.

Reply via email to