TimeZone on Strava Upload
It appears that the timezone is not preserved during a Strava export (or possibly during the Concept2 import). See the attached screenshot, which shows the same workout in the Concept2 log (correct), and Strava (7 hours early).
This is causing all of my connected services (ie. IFTTT) to be confused.
Comments (18)
-
repo owner -
reporter Are you saying that the Concept2 Log has a setting for timezone? I could only find a location (City/Province/Postal Code), which was already set correctly. I was unable to find a setting for timezone, how does it know?
-
repo owner Their API http://log.concept2.com/developers/documentation/#logbook-users-results-post has a possibility to add time zone info. Are you using ErgData? I am not sure it uses the time zone info. So probably rowsandall.com is getting time information without the time zone. That's why I convert to UTC
-
reporter I'm using ErgData, yes. So I guess they're the culprit? That's a shame, now all of my workouts are showing up on Strava and in my Google Calendar at the wrong time.
-
repo owner Do you have an iPhone? Please try Painsled. Your workflow would be different. Send the CSV stroke file to Workouts@rowsandall.com. From the site, export to both Strava and C2.
-
repo owner I will go through my code to see if I omit a time zone somewhere. Unfortunately time zone handling is unintuitive and done Inconsistently in different platforms. This will take time so don't expect it before Christmas.
-
I did a bit of digging around. As I understand the specifics here, the data for the workout is captured by ergdata, and then sync'ed to the concept2 logbook. Then a csv file is generated in the concept2 logbook page.
This file has no time or date information in it at all. the behavior that rowsandall exhibits is reasonable. It sets the date and time to the time of the upload.
If the user imports from the concept2 logbook directly on the rowsandall site, the workout time comes across as a local time since concept2 doesn't provide a time zone reference.
The best suggestion to maintain consistency of linked sites is to manually edit the workout time in rowsandall after it is imported to be the correct UTC time. Then it will export right to google calendar and strava.
-
reporter I do not have an iPhone, only Android. I do have an iPad which may work, but not the necessary iConnect cable to get it hooked up to my PM3. I tried a USB A to USB B adaptor with my regular iPad cable, but it doesn't work. I've read on the C2 website that the cable must be "Genuine Apple" which I guess means I need to buy it from Concept2.
I have emailed the workout file as requested yesterday.
Greg, thanks for your suggestion. How do I edit the Workout time in rowsandall? I was unable to find a way to do that. And I'm not sure it would help anyhow, the workout time shows correct after importing to rowsandall from Concept2 Log.
Would another solution be to have a timezone setting as a part of my profile in rowsandall? And then when it handles files that are missing that information, it can add the correct timezone rather than just UTC as it does now?
Thanks again! Kellen
-
repo owner Hi Kellen The time shows correct, but we set it to UTC (GMT) time, because we don't know the time zone. Before you export to Strava, edit the workout. From the My Workouts screen, click on the name of the workout. That will get you to the Workout edit. On the top left, you can change the time.
It's the "starttime" field. The trick is to set it to what time it would be in the UTC time zone at the time of your workout. The workout I am showing, I did it at 1:44pm Central European Time (UTC+1). The time correctly shows 12:44 and when I export to Strava, it shows 1:44pm in my local time zone.
I am not eager to add a time zone setting. It would have to be a default time zone. I, for example, have used the rower on many continents. I think we should all write to Concept2 (ranking@concept2.com) and ask for ErgData to include the time zone. The Concept2 logbook actually has time zone in it's API, but it isn't using it. If, upon import to Rowsandall.com, Concept2 would send time zone info, all would be fine.
-
reporter Thank you for the help, I can do that as a workaround until Concept2 updates their ErgData app.
I emailed Concept2 with regards to that and received an immediate response. The rep (Dena Hirchak) indicated that David Hart is the best contact for this request, who's email address is davidh@concept2.com I believe. More emails to him may help?
Thanks again everybody, enjoy your holidays!
Kellen
-
repo owner Hi
Yes I have emailed with David in the past. He is very helpful and reacts fast. Don't be too harsh on him. Deploying the API, and supporting the PM5 through ErgData is quite a big thing for a small company like C2.
I will follow up with an email in January. It's holiday time now. Merry Christmas and keep rowing!
Sander
-
repo owner On hold until Concept2 replies
-
repo owner - changed status to on hold
-
reporter Received this today:
=====================
From: Concept2 Ranking Ranking@concept2.com Date: Tue, Jan 3, 2017 at 8:21 AM Subject: Re: TimeZones in Data (ErgData) To: Kellen Westman
Hi Kellen,
Yes – we’ll look into this for a future release of ErgData.
Please let me know if there’s anything else I can do to help.
Best,
David Hart Concept2
-
repo owner Thanks for the update. That is great news.
-
5 years later, time zone still appears to be set to UTC (i.e. when I see it off by 5 hours in Strava)…why not set it to the user’s time zone if there is no time zone info?
-
repo owner Hi Ben, Can you send me a reproduction path for the issue? We are solving this issue on the following ticket: https://bitbucket.org/sanderroosendaal/rowsandall/issues/594/concept2-logbook-import-timestamp-zone
Let me check this over Christmas, as I think it has been resolved but I just didn’t close the ticket. For the reproduction path, please report your time zone setting on https://rowsandall.com/rowers/me/edit/ , a C2 workout ID, the start and end time and date on C2 (including time zone), the start time and time zone on Rowsandall, and the start time and time zone on Strava. Could you report this in the above-mentioned issue, which I will keep open until it has been resolved.
-
repo owner - changed status to duplicate
Duplicate of #594.
- Log in to comment
We try to set the timezone according the time zone info that Concept2 sends over. If the timezone info is not present, we cannot know the timezone of origin, and we set it to UTC