forked from gergely/calendar-social
[Bugfix] Fix the default timezone setting
This commit is contained in:
parent
d14d32767c
commit
295e19198e
@ -124,7 +124,7 @@ class CalendarSocialApp(Flask):
|
||||
return utc
|
||||
|
||||
if not self._timezone:
|
||||
timezone_str = current_app.settings.get('DEFAULT_TIMEZONE', 'UTC')
|
||||
timezone_str = current_app.config.get('DEFAULT_TIMEZONE', 'UTC')
|
||||
|
||||
try:
|
||||
self._timezone = timezone(timezone_str)
|
||||
|
Loading…
Reference in New Issue
Block a user