#35852: intcomma not locale aware when given a decimal as string
-------------------------------------+-------------------------------------
     Reporter:  Jonathan Ströbele    |                    Owner:  HEMANT
                                     |  MISHRA
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.humanize     |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

 * stage:  Unreviewed => Accepted

Comment:

 Hello Jonathan, thank you for taking the time to create this report. I
 have reproduced what you said, by setting the server LANGUAGE_CODE to
 `de`. I agree that the result `9,999,999,999.11` feels unexpected for the
 string `"9999999999.11"` when `intcomma` is applied.

 Could you like to prepare a patch?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35852#comment:2>
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/01070192b0f08e09-981f179c-2cb0-404f-9530-eae2b2c8686a-000000%40eu-central-1.amazonses.com.

Reply via email to