django-tz-detect icon indicating copy to clipboard operation
django-tz-detect copied to clipboard

Easy user timezone detection for Django

Results 10 django-tz-detect issues
Sort by recently updated
recently updated
newest added

In version 0.5 this error occurs. The timezone entered is incorrect.

Bumps [django](https://github.com/django/django) from 2.2.26 to 3.2.25. Commits c98eca3 [3.2.x] Bumped version for 3.2.25 release. 072963e [3.2.x] Fixed CVE-2024-27351 -- Prevented potential ReDoS in Truncator.words(). 2ad2676 [3.2.x] Added release date for...

dependencies

Hi, thank you for a great module! Right now django-tz-detect uses `(new Date()).getTimezoneOffset())` to get current user offset and save to session. While in most cases it't quite accurate, there...

According to the readme: > Django's timezone awareness will not be available on the first page view Is there a specific reason this library does not attempt this? Where we're...

As the TZ guessing is only based on offset, and the guessed TZ is never saved, the same offset will be used after the user moved into daylight saving. This...

A feature proposal. I have a need to implement Django-Jinja2 template engine support. I plan to use it in commercial product and I am at a deadline. I have read...

enhancement
question

There's an API called [ip-api.com](http://ip-api.com/docs/api:json ) which will give you the location and time zone based on the user's IP. If we use this on the server side, we can...

Django no longer supports pytz ([notes](https://docs.djangoproject.com/en/4.2/releases/4.0/#zoneinfo-default-timezone-implementation)), will this package change too? I had problems using django 5.0 together with `django-tz-detect`, there are incompatibilities when using `pytz` with `ZoneInfo`. https://pytz-deprecation-shim.readthedocs.io/en/latest/index.html

First of all I would like to thank you for this wonderful package 2 projects I've worked on are used in multiple time-zones and both revolve around reservations so times...