Answer the question
In order to leave comments, you need to log in
How to make Django automatically determine the time zone?
How can I make Django automatically determine the time zone and display the time corresponding to this zone? If you specify TIME_ZONE = 'Europe/Moscow', then Moscow time will be displayed, even if the person is from Vladivostok...
Answer the question
In order to leave comments, you need to log in
You can define `new Date.toString()` with Javascript in the browser and somehow pass it to the backend.
For example, in a hidden login field, or with Ajax.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question