#15234: Year is localized with USE_THOUSAND_SEPARATOR in admin's date hierarchy
under certain conditions
----------------------------------+-----------------------------------------
 Reporter:  julien                |          Owner:  nobody    
   Status:  new                   |      Milestone:  1.3       
Component:  django.contrib.admin  |        Version:  1.2       
 Keywords:                        |   Triage Stage:  Unreviewed
Has patch:  1                     |  
----------------------------------+-----------------------------------------
 The easiest way to reproduce this bug is:

 * set `USE_THOUSAND_SEPARATOR` to `True`.
 * set `USE_L10N` to `True`.
 * Install `contrib.comments`.
 * Create one single comment, or multiple comments all within the same
 month.
 * Visit `/admin/comments/comment/`

 The year displayed at the top of the page is (for instance): "2,011".

 The attached patch fixes the issue and also adds tests for this particular
 case and for other cases for future-proofing.

 See #14895 for a related issue.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15234>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to