diff --git a/src/web/web/settings.py b/src/web/web/settings.py index 120fe49..b507056 100644 --- a/src/web/web/settings.py +++ b/src/web/web/settings.py @@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/4.1/ref/settings/ from pathlib import Path import logging +import os # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -107,7 +108,7 @@ AUTH_PASSWORD_VALIDATORS = [ LANGUAGE_CODE = "en-us" -TIME_ZONE = "UTC" +TIME_ZONE = os.environ["TZ"] USE_I18N = True