Private
Public Access
1
0

fixing timezone error c2 import

This commit is contained in:
2024-12-26 17:17:04 +01:00
parent 7b1f8e9286
commit 7a9385f1bf
4 changed files with 34 additions and 8 deletions

View File

@@ -1156,7 +1156,8 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
consistencychecks=False,
startdatetime='',
workoutid='',
impeller=False):
impeller=False,
timezone=''):
message = None
@@ -1173,7 +1174,7 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
row = rdata(f2, rower=rr)
startdatetime, startdate, starttime, timezone_str, partofday = get_startdate_time_zone(
r, row, startdatetime=startdatetime)
r, row, startdatetime=startdatetime, timezone=timezone)
if title is None or title == '':
title = 'Workout'
@@ -1463,6 +1464,7 @@ def new_workout_from_file(r, f2,
rpe=-1,
makeprivate=False,
startdatetime='',
timezone='',
notes='',
workoutid='',
oarlockfirmware='',
@@ -1641,6 +1643,7 @@ def new_workout_from_file(r, f2,
workoutsource=workoutsource,
summary=summary,
startdatetime=startdatetime,
timezone=timezone,
rpe=rpe,
inboard=inboard, oarlength=oarlength,
seatnumber=seatnumber, boatname=boatname,