Private
Public Access
1
0

updated time zone in sync

This commit is contained in:
Sander Roosendaal
2017-09-24 17:45:59 +02:00
parent db76e90411
commit 3b0763ade2
5 changed files with 17 additions and 8 deletions

View File

@@ -258,7 +258,7 @@ def createc2workoutdata_as_splits(w):
"date": w.startdatetime.isoformat(),
"distance": int(w.distance),
"time": int(10*makeseconds(durationstr)),
"timezone": "Etc/UTC",
"timezone": w.timezone,
"weight_class": c2wc(w.weightcategory),
"comments": newnotes,
"heart_rate": {
@@ -320,7 +320,7 @@ def createc2workoutdata(w):
data = {
"type": workouttype,
"date": w.startdatetime.isoformat(),
"timezone": "Etc/UTC",
"timezone": w.timezone,
"distance": int(w.distance),
"time": int(10*makeseconds(durationstr)),
"weight_class": c2wc(w.weightcategory),