Private
Public Access
1
0

fixing c2 timezone stuff - hope it's better now

This commit is contained in:
Sander Roosendaal
2021-05-26 15:43:54 +02:00
parent d4d6ba5922
commit 9572a18263
8 changed files with 90 additions and 11 deletions

View File

@@ -701,7 +701,7 @@ def createc2workoutdata(w):
workouttype = 'water'
wendtime = w.startdatetime+datetime.timedelta(seconds=makeseconds(durationstr))
wendtime = w.startdatetime.astimezone(pytz.timezone(w.timezone))+datetime.timedelta(seconds=makeseconds(durationstr))
data = {
"type": mytypes.c2mapping[workouttype],