The workout edit form may create timezone naive start date times

Issue #265 resolved
Sander Roosendaal repo owner created an issue

Summary Workout Edit view changing a workout erroneously uploaded as indoor rowing to OTW. The startdatetime turns to timezone naive.

Steps to reproduce Upload attached workouts. One of them (the first one) should be uploaded as "indoor rower". Edit the Indoor rowing workout, changing the type to OTW. Join the three workouts. Total duration is over 9 hours, because the start time is recorded as 5:02UTC, while it is really 14:02UTC.

What is the current bug behavior? Calculates incorrect duration on joined workouts. The timezone in startdatetime field is not in line with the timezone in startdate and starttime and timezone fields.

Comments (1)

  1. Log in to comment