put timezone dt in config

This commit is contained in:
stvnrlly
2022-11-29 10:58:59 -05:00
parent 219dc7b2ec
commit 446694d1cc
4 changed files with 9 additions and 7 deletions

View File

@@ -77,8 +77,8 @@ def get_time_value_and_label(future_time):
return (
future_time.replace(tzinfo=None).isoformat(),
'{} at {} ET'.format(
get_human_day(future_time.astimezone(pytz.timezone(current_app.config['TIMEZONE']))),
get_human_time(future_time.astimezone(pytz.timezone(current_app.config['TIMEZONE'])))
get_human_day(future_time.astimezone(current_app.config['PY_TIMEZONE'])),
get_human_time(future_time.astimezone(current_app.config['PY_TIMEZONE']))
)
)