Skip to content

Commit

Permalink
Fixed #2 by doing int database to c# converstion right (signed /
Browse files Browse the repository at this point in the history
unsigned )
  • Loading branch information
Eusebius1920 committed Sep 1, 2017
1 parent 048cb99 commit 389ccb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ITM_To_GPX/SQLiteFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private void _GetTracks(ArrayList TrackInformation, GPX gpxfile)
latitude = (float) (datatableWP.Rows[i][9]);
longitude = (float) datatableWP.Rows[i][8];
elevation = (float) datatableWP.Rows[i][10];
gpxdatetime = DateTime.FromFileTime((((long)(int)datatableGPS.Rows[i][2]) << 32)+(int)datatableGPS.Rows[i][3]);
gpxdatetime = DateTime.FromFileTime((((long)(int)datatableGPS.Rows[i][2]) << 32)+(uint)(int)datatableGPS.Rows[i][3]);

//Wenn Sommerzeit war, dann ziehe eine Stunde ab
TimeZone localZone = TimeZone.CurrentTimeZone;
Expand Down

0 comments on commit 389ccb4

Please sign in to comment.