On Wed, Oct 10, 2012 at 11:40 AM, Tom Evans <tevans...@googlemail.com> wrote:
> 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

I should have just kept reading. I can create a custom
formats/<locale>/formats.py which defines the updated format(s) I want
for that locale.

Cheers

Tom

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to