From 0ed47eeba53e48490145d1bf274ab607d3bf807d Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sat, 4 Oct 2025 12:58:52 +0800 Subject: [PATCH] fix --- oj/settings.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/oj/settings.py b/oj/settings.py index 27fdf8b..87816f6 100644 --- a/oj/settings.py +++ b/oj/settings.py @@ -113,13 +113,9 @@ AUTH_PASSWORD_VALIDATORS = [ # Internationalization # https://docs.djangoproject.com/en/1.8/topics/i18n/ -LANGUAGE_CODE = "en-us" +LANGUAGE_CODE = "zh-cn" -TIME_ZONE = "UTC" - -USE_I18N = True - -USE_L10N = True +TIME_ZONE = "Asia/Shanghai" USE_TZ = True