Fix for the default timezone #36

Merged
gergely merged 1 commits from default-timezone-fix into master 2018-07-09 09:43:47 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -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)