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