further timezone magic c2
This commit is contained in:
@@ -238,7 +238,7 @@ def create_async_workout(alldata,user,c2id):
|
||||
duration = dataprep.totaltime_sec_to_string(totaltime)
|
||||
|
||||
try:
|
||||
timezone_str = tz(data['timezone'])
|
||||
timezone_str = data['timezone']
|
||||
except:
|
||||
timezone_str = 'UTC'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user