Thank you for your email.

This is not a bug in Django, it is the correct output when you set
DATE_FORMAT = "%m/%d/%Y". Your desired output will come if you set
DATE_FORMAT = 'm/d/Y'.

The documentation [1] may not be too clear on what formatting is
required, but does give an example which hints at leaving the % signs
out. What might be confusing for some is that the documentation for
DATE_INPUT_FORMATS directly below it, shows an example with lots of %
sign formats. It also seems that the reference to "allowed date format
strings" isn't a working link, is that a bug in the documentation?

Cheers,

Will

[1] http://docs.djangoproject.com/en/dev/ref/settings/#date-format

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to