bug fix timezone c2 import
This commit is contained in:
@@ -9389,6 +9389,9 @@ def workout_getc2workout_view(request,c2id):
|
||||
except:
|
||||
timezone_str = 'UTC'
|
||||
|
||||
if timezone_str is None:
|
||||
timezone_str = 'UTC'
|
||||
|
||||
workoutdate = startdatetime.astimezone(
|
||||
pytz.timezone(timezone_str)
|
||||
).strftime('%Y-%m-%d')
|
||||
|
||||
Reference in New Issue
Block a user