Private
Public Access
1
0

Merge branch 'release/v16.3.1'

This commit is contained in:
Sander Roosendaal
2021-05-26 18:09:51 +02:00

View File

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