From 8b9a09b268e1e27b51b775f6d918ff23292d31e6 Mon Sep 17 00:00:00 2001 From: smilerz Date: Wed, 29 Nov 2023 10:56:33 -0600 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 42164766..4326d27f 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('REVERSE_PROXY_AUTH', False))) + TIME_ZONE = bool(int(os.getenv('TIMEZONE'))) else: TIME_ZONE = os.getenv('TZ') if os.getenv('TZ') else 'Europe/Berlin'