saintbyte / openbmap

Automatically exported from code.google.com/p/openbmap
Other
1 stars 1 forks source link

Incorrect timestamps in GPX files #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a log.
2. Make sure GPX export is enabled.
3. Export.

What is the expected output? What do you see instead?
Timestamps in the GPX files have the format yyyy-mm-ddThh:mm:ssZ. Upon closer 
examination, it turns out that the timestamps use local time, whereas the 
trailing Z suggests they are in UTC. Fix: either append the correct time zone 
(e.g. Z+01:00 for UTC+1) or write timestamps in UTC.

What version of the product are you using? On what operating system?
0.7.9 e561940 on Cyanogenmod 10.2.1

Please provide any additional information below.
Precise timestamps are needed if the GPX file is going to be used for 
correlation with other data, e.g. for geotagging photos taken with an oldschool 
digital camera. (Which is my use case, as I feed both OSM and openbmap with my 
logs.)

Original issue reported on code.google.com by mich...@vonglasow.com on 18 Mar 2014 at 5:25

GoogleCodeExporter commented 9 years ago

Original comment by wish7code on 19 Mar 2014 at 9:51

GoogleCodeExporter commented 9 years ago
Very good eye, thanks Michael..

Fixed with rf39d202777f0

Original comment by wish7code on 21 Mar 2014 at 7:22