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

Online Example with detection #15

Open studentIvan opened 9 years ago

studentIvan commented 9 years ago

It would be fine if you could have an online example. Because my ip detecting as UTC, but maybe it localhost (127.0.0.1).

rlburb commented 8 years ago

I have the same problem. So I can't tell if this will work in production.

Miserlou commented 8 years ago

Plus one.

geosir commented 8 years ago

Spoofed my IP with curl --header "X-Forwarded-For: <<my external IP>>" localhost:8000 and a look at the response shows the correct timezone! Nice.