#10353: prompt the correct date/time format in the error message
---------------------------------------+----------------------------------
               Reporter:  dryice       |        Owner:  nobody
                   Type:  New feature  |       Status:  closed
              Milestone:               |    Component:  Forms
                Version:  1.0          |     Severity:  Normal
             Resolution:  wontfix      |     Keywords:  date time datetime
           Triage Stage:  Accepted     |    Has patch:  1
    Needs documentation:  0            |  Needs tests:  0
Patch needs improvement:  0            |
---------------------------------------+----------------------------------

Comment (by dryice):

 "the assumption that the field needs to be entered in a specific format"
 is not coded in this patch, it's already in the code for
 DateField/TimeField/DateTimeField

 However I saw another reason why the patch should not be applied: Because
 the format check in the existing code has been i18n-ed, and checking all
 the formats.py in django/conf/locale/xx, there's no a universal format. So
 specifying the YYYY-MM-DD format in the error message may confuse some
 users don't use this format.

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