fixing timezone error c2 import
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user