In the Danish Django translation, DATE_FORMAT is "j. F Y".
In settings.py in my project I have:
LANGUAGE_CODE = 'da'
USE_I18N = True
USE_L10N = True
Now I have this in a template:
{{ object.published_on|date }}
I would now expect the date variable to be formatted like "10. juni
2010". Nevertheless, it is formatted like "June 10, 2010" (default/
American formatting, I suppose).
How come?
If I specifically set the date format in settings.py like:
DATE_FORMAT = "j. F Y"
- I get: "10. June 2010" - which is still not correct!
Best regards,
Finn Gruwier Larsen
--
You received this message because you are subscribed to the Google Groups
"Django I18N" 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-i18n?hl=en.