Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2022-09-28 21:06:32 +02:00
parent 1c40d31c9c
commit 36f1c95c85

View File

@@ -1189,11 +1189,11 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
dragfactor = row.dragfactor
t = datetime.datetime.strptime(duration, "%H:%M:%S.%f")
#t = datetime.datetime.strptime(duration, "%H:%M:%S.%f")
delta = datetime.timedelta(
hours=t.hour, minutes=t.minute, seconds=t.second)
seconds=totaltime)
workoutenddatetime = workoutstartdatetime+delta