--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
_______________________________________________
Golden-Cheetah-Users mailing list
golden-cheetah-users@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
It appears to me that when a ride is uploaded, the following is done:
1. time is converted to GMT using the time zone offset (good)
2. default time zone offset is applied (bug)
3. This is set as the "ride time" (Zulu)
4. time zone of the first position is applied, generating another "zulu" time
5. This is interpreted as the "local time".
There's two errors here:
1. step 2
2. the "local time" should be reported with a time zone offset, not as Zulu.
Dan,Are you sure time zones on upload isn't working? I am pretty sure that got fixed a few months ago in V3. We had a bug that hardcoded the timezone, fixed it to always convert the timestamp in the file to UTC time. I checked this for tcx format, but the logic should work for all the other formats too.As for the download, the data stream doesn't contain power information and I think the only hard part of the download would be creating a UI that would allow you to select the right ride. I am assuming that you don't want to download your own ride, but another rider's data.
Greg
On Mon, Apr 23, 2012 at 7:28 AM, djconnel wrote:
First, nice work! It would be nice to have download as well... http://www.strava.com/api/v1/streams/:rideIdI've had a time zone problem with Strava when uploading. I don't see in source how you deal with it.... Here's a copy of my support request, which hasn't yet been answered:-------
It appears to me that when a ride is uploaded, the following is done:
1. time is converted to GMT using the time zone offset (good)
2. default time zone offset is applied (bug)
3. This is set as the "ride time" (Zulu)
4. time zone of the first position is applied, generating another "zulu" time
5. This is interpreted as the "local time".There's two errors here:
1. step 2
2. the "local time" should be reported with a time zone offset, not as Zulu.
--
_______________________________________________
Golden-Cheetah-Users mailing list
--
_______________________________________________
Golden-Cheetah-Users mailing list