1👍
✅
generally, the server is setup to run as UTC, which has no daylight saving time, etc, and each user’s settings contains their preferred timezone. Then you do the time difference calculation. You DB might have that feature.
0👍
Just use the django timezone feature to get the timezone of the user and to convert it to your local timezone for the db-query.
- [Answer]-Django Mezzanine – Don't Overwrite Local Files with collecttemplates
- [Answer]-Custom [admin] interfaces with Django?
- [Answer]-Create Resource on Django Tastypie with a Java POST request but getting 500 error code
- [Answer]-Django database not updating
- [Answer]-Django Hide Processing Page
Source:stackexchange.com