Miserlou / django-easy-timezones

Easy timezones for Django based on GeoIP
http://gun.io/blog/django-easy-timezones/
Apache License 2.0
203 stars 44 forks source link

Local time is unaffected... #14

Open claycoleman opened 8 years ago

claycoleman commented 8 years ago

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.

Pal0r commented 8 years ago

Im having the same issue. Did you resolve?

iamjonmiller commented 6 years ago

Having the same issue.

jdhurwitz commented 6 years ago

same problem