Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerz authored Nov 29, 2023
1 parent f69813f commit 8b9a09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@

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'

Expand Down

0 comments on commit 8b9a09b

Please sign in to comment.