From 9b18cab1459a2b1e451cd0a08359898a0a0a958d Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 29 Nov 2023 19:28:19 +0100 Subject: [PATCH] Update settings.py --- recipes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/settings.py b/recipes/settings.py index 4326d27f..8d902441 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -452,7 +452,7 @@ LANGUAGE_CODE = 'en' if os.getenv('TIMEZONE') is not None: print('DEPRECATION WARNING: Environment var "TIMEZONE" is deprecated. Please use "TZ" instead.') - TIME_ZONE = bool(int(os.getenv('TIMEZONE'))) + TIME_ZONE = os.getenv('TIMEZONE') if os.getenv('TIMEZONE') else 'Europe/Berlin' else: TIME_ZONE = os.getenv('TZ') if os.getenv('TZ') else 'Europe/Berlin'