#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---------------------------+------------------------------------------------
Reporter: bufke | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.2
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
In 1.2 I used this in settings.py
TIME_INPUT_FORMATS = ('%I:%M %p',)
to accept times like 1:30 PM and it worked fine. After upgrading to 1.2.1
Django accepts times like that but it displays them in the 24 hour format,
thus it prints times in a format it cannot accept. For example in the user
settings when I edit and save (doing nothing) I get errors because the
time is displayed in the 24 hour format yet it only accepts 12 hour
format.
--
Ticket URL: <http://code.djangoproject.com/ticket/13621>
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.