📜  django 时区设置 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.479000             🧑  作者: Mango

代码示例2
Here is the list of valid timezones:

http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

You can use

TIME_ZONE = 'Europe/Istanbul'
for UTC+02:00