摘要: django.util.timezone.now() 原因: setting.py中设置了时区: LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_TZ = True 将TIME_ZONE时区改为: TIME_ZONE = ' 阅读全文
posted @ 2024-08-29 21:43 二月雪 阅读(2) 评论(0) 推荐(0) 编辑