Date format errors and date defaults
I'm getting an error I don't quite understand how to solve - despite
having
USE_L10N = True
DATE_FORMAT=('j N, Y')
DATE_INPUT_FORMATS=('%d %B %Y')
in my settings.py, the SelectDateWidget still renders in Month/Day/
Year order instead of day/month/year?
Also, is there a way to set the default month and day? Basically if
only the year is known, I'd like the date to default to 1st January,
but I don't want to necessarily have to enter that data?
Cheers
L.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home