From 5f9ca5781f743d0966dbb9595b8d6acb23e5028b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 3 Jan 2023 20:52:23 +0100 Subject: [PATCH] Properly set TIME_ZONE --- src/web/web/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/web/settings.py b/src/web/web/settings.py index b507056..de91566 100644 --- a/src/web/web/settings.py +++ b/src/web/web/settings.py @@ -108,7 +108,7 @@ AUTH_PASSWORD_VALIDATORS = [ LANGUAGE_CODE = "en-us" -TIME_ZONE = os.environ["TZ"] +TIME_ZONE = os.environ.get("TZ", "UTC") USE_I18N = True