Tom, I think you can create a custom format file for that (see [1] ).
Koen [1] : https://docs.djangoproject.com/en/1.4/topics/i18n/formatting/#creating-custom-format-files Op woensdag 10 oktober 2012 12:40:52 UTC+2 schreef Tom Evans het volgende: > > Hi all > > If you enable USE_L10N=True, then datetime, date and time formats are > all taken from the definition for the current locale. However, none of > these formats seem to include the timezone of a non-naive datetime > field, which I can add by disabling USE_L10N and defining an > appropriate DATETIME_FORMAT. > > Is there any way around this? I can have sane datetime formats, but > only if I disable all localisation? > > Cheers > > Tom > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/G5Q3m2FaZJgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.