Closed dblock closed 2 years ago
This is poor design from Strava.
"start_date" : "2018-02-16T14:56:25Z", "timezone" : "(GMT-08:00) America/Los_Angeles", "start_date_local" : "2018-02-16T06:56:25Z"
Those date/times are both ISO, but both are in UTC. If you just parse them, you'll get an incorrect value for "start_date_local" unless you only care about the hour of the day.
The correct value in this example is 2018-02-16T06:56:25-08:00.
Closed via https://github.com/dblock/strava-ruby-client/pull/39
This is poor design from Strava.
Those date/times are both ISO, but both are in UTC. If you just parse them, you'll get an incorrect value for "start_date_local" unless you only care about the hour of the day.
The correct value in this example is 2018-02-16T06:56:25-08:00.