您的位置: 首页 > 文章 > django的时区问题 django的时区问题 分类: 文章 • 2022-06-18 21:34:12 打开settings文件,找到里面的: TIME_ZONE = 'UTC' 改为: TIME_ZONE = 'Asia/Shanghai'