Merge branch 'release/v16.3.1'
This commit is contained in:
@@ -4904,7 +4904,7 @@ def workout_upload_api(request):
|
||||
|
||||
w = Workout.objects.get(id=id)
|
||||
if timezone is not None: # pragma: no cover
|
||||
print(w.startdatetime,timezone)
|
||||
|
||||
w.startdatetime = w.startdatetime.astimezone(pytz.timezone(timezone))
|
||||
|
||||
w.workoutdate = w.startdatetime.strftime('%Y-%m-%d')
|
||||
@@ -4913,10 +4913,7 @@ def workout_upload_api(request):
|
||||
w.timezone = timezone
|
||||
w.save()
|
||||
|
||||
print(w.startdatetime)
|
||||
|
||||
print(w.starttime)
|
||||
|
||||
|
||||
|
||||
|
||||
if make_plot: # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user