Fixing TCX files with the Garmin Trackpoint Time bug

Something that’s bugged me and perhaps some of the Garmin 1000 owners in the Strava community for a while is the failure of certain activities to sync.

As an avid triathlete, data analyst and technologist, one side of the sport I love is there is loads of data!

Frequently though, I return from a ride, upload the activity only to find that it won’t transfer to Strava. This is due to the trackpoint times for some inexplicable reason switching to July 4th 2019 half way through the file.

I’d manually corrected the file a few times, but eventually I’d had enough and put together a PowerShell script to do the work for me.

It needs some extra work – it probably needs logic to work out the timespan automatically, and doesn’t update the lap start times yet, but it’s in the issues list if you want to update it 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.