#10288: DateTimeInput widget's _has_changed fails when using custom output 
format
----------------------------------------------------------+-----------------
 Reporter:  Koen Biermans <[email protected]>  |       Owner:  
nobody    
   Status:  new                                           |   Milestone:        
    
Component:  Forms                                         |     Version:  SVN   
    
 Keywords:  widgets                                       |       Stage:  
Unreviewed
Has_patch:  1                                             |  
----------------------------------------------------------+-----------------
 The DateTimeInput widget has the option to format the rendered value. When
 this value returns, the _has_changed function always considers the value
 changed. This can be solved by applying the same format to the initial
 value before comparison.

 I am attaching a patch and test.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10288>
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