PiRSquared17 / gccv2

Automatically exported from code.google.com/p/gccv2
0 stars 0 forks source link

gcc2gpx fix #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I converted my GCC file to GPX format because I have to upload to Endomondo. 
But there's error when importing GPX files. Time was wrong.

When gcc2gpx converting gcc file to gpx file, makes wrong <time>..</time>. The 
time is printed as local time, but time must be printed by UTC on GPX Format 
document. So these line must be fixed like this

gcc2gpx/MainForm.cs #473

Original lines:
string run_time_str = (StartTime + run_time).ToString("u");

Fixed lines:
string run_time_str = (StartTime + run_time - 
TimeZoneInfo.Local.BaseUtcOffset).ToString("u");

Original issue reported on code.google.com by inf8...@gmail.com on 18 Apr 2012 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago
In the project forum is a new beta release of gcc and a new version of gcc2gpx.
http://forum.xda-developers.com/showpost.php?p=25147099&postcount=1644
Klaus

Original comment by kmb...@gmx.de on 22 Apr 2012 at 12:02