W
W
WebDeveloper20162016-11-08 10:28:32
Django
WebDeveloper2016, 2016-11-08 10:28:32

How to set timezone?

How to set timezone in Django? In the project settings. I'm interested in the string format. I just saw somewhere it is set like "UTC", and somewhere "Russia/Moscow"... What's the right way? And if UTC, then how to write it correctly there? For example "UTC+3" will be correct? Or maybe there will be a plus on the other side, I don’t know ... In different ways, too, everywhere ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-11-08
@WebDeveloper2016

The most authoritative source is the official documentation. And she claims that only in the "Continent / City" format. The full list can be viewed here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question