In my django project’s
settings.py file, I have this line :
TIME_ZONE = 'UTC'
But I want my app to run in UTC+2 timezone, so I changed it to
TIME_ZONE = 'UTC+2'
It gives the error
ValueError: Incorrect timezone setting: UTC+2. What is the correct way of doing this?
Here is the list of valid timezones:
You can use
TIME_ZONE = 'Europe/Istanbul'
Answered By – Selcuk
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0