Private
Public Access
1
0

better totaltimetosec

This commit is contained in:
Sander Roosendaal
2022-09-28 19:13:56 +02:00
parent 469363c691
commit 1c40d31c9c
3 changed files with 69 additions and 2 deletions

View File

@@ -1188,7 +1188,10 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
if workouttype in otetypes:
dragfactor = row.dragfactor
t = datetime.datetime.strptime(duration, "%H:%M:%S.%f")
delta = datetime.timedelta(
hours=t.hour, minutes=t.minute, seconds=t.second)