django-easy-timezones icon indicating copy to clipboard operation
django-easy-timezones copied to clipboard

Local time is unaffected...

Open claycoleman opened this issue 9 years ago • 3 comments

Using django 1.8.6, {% localtime on %} doesn't do anything! UTC time and localtime are the same. When USE_TZ = True, {% get_current_timezone as TIME_ZONE %}{{ TIME_ZONE }} yields America/Chicago while I'm currently in US/Mountain. Also, all dates in my templates are changed to fit the time zone, not just the dates inside of {% localtime on %}. Also, it's only yielding America/Chicago.

When USE_TZ = False, all dates are yielded in UTC time.

I also tried TIME_ZONE = 'UTC' and deleting TIME_ZONE from settings.py.

This package looks super useful. I'm probably missing something simple.

claycoleman avatar Dec 03 '15 17:12 claycoleman

Im having the same issue. Did you resolve?

Pal0r avatar Jul 02 '16 01:07 Pal0r

Having the same issue.

iamjonmiller avatar Jun 21 '18 18:06 iamjonmiller

same problem

jdhurwitz avatar Jul 16 '18 00:07 jdhurwitz