#14906: Date month format character "E" not working for Polish
-----------------------------+----------------------------------------------
 Reporter:  jbl1             |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Template system  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 Given the template code:

 {{{
 <p>Dzisiejsza data: {{ dzisiaj|date:"j F Y" }}</p>
 <p>Dzisiejsza data: {{ dzisiaj|date:"j E Y" }}</p>
 }}}

 I get the following:

 {{{
 Dzisiejsza data: 15 Grudzień 2010

 Dzisiejsza data: 15 December 2010
 }}}

 Expected is (the second line was in error):


 {{{
 Dzisiejsza data: 15 Grudzień 2010

 Dzisiejsza data: 15 grudnia 2010

 }}}

 as per http://docs.djangoproject.com/en/dev/ref/templates/builtins/, which
 says:

 {{{
 E       Month, locale specific alternative representation usually used for
 long date representation.    'listopada' (for Polish locale, as opposed to
 'Listopad')

 }}}

 Of course USE_I18N and USE_L10N are set to True which can be seen form the
 first lines of the sample renderings. My Django version is "bleeding edge"
 SVN-14918.

 Is that a bug or am I overseeing something.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14906>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to