#9762: template filter |date:"r" not valid RFC 2822 formatted when LANGUAGE_CODE
different than english
--------------------------------------+-------------------------------------
          Reporter:  amele            |         Owner:  kgrandis            
            Status:  assigned         |     Milestone:                      
         Component:  Template system  |       Version:  SVN                 
        Resolution:                   |      Keywords:  date template filter
             Stage:  Accepted         |     Has_patch:  1                   
        Needs_docs:  0                |   Needs_tests:  0                   
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by kgrandis):

  * has_patch:  0 => 1

Comment:

 The attached patch makes the 'r' flag returns an RFC 2822 formatted date
 string even when LANGUAGE_CODE is set to something other than English.
 Added regression tests to reflect this issue.

 There will be a simpler solution once Python implements a datetime-RFC
 2822 export feature ( http://bugs.python.org/issue665194 ).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9762#comment:5>
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