[Bugfix] Fix the default timezone setting
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user