Time stamps in track log wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tangogps |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Seems that tangogps makes some timezone related error in storing track data.
I am currently at timezone +0300 (summertime) and a track that I started localtime 14:05:22 (20090628_
I verified that gpsd reported correct timestamps and also verified track with other gps unit just to make sure that my memory did serve me right.
$ dpkg -l tangogps gpsd
Desired=
| Status=
|/ Err?=(none)
||/ Nimi Versio Kuvaus
+++-===
ii gpsd 2.38-1ubuntu3 GPS (Global Positioning System) daemon
ii tangogps 0.9.3-2 GTK+ mapping and GPS application
I can confirm this.
tangogps- 0.9.3-2- -i386
ccurley@ dragon: ~/Maps$ cat 20090730_203638.log -108.214592, 1347.0, 0.0,219. 0,4.4,2009- 07-31T08: 36:36Z -108.214592, 1347.0, 0.1,-316. 3,4.4,2009- 07-31T08: 36:37Z -108.214592, 1347.1, 0.1,-323. 2,4.4,2009- 07-31T08: 36:39Z -108.214595, 1347.3, 0.1,-326. 6,4.4,2009- 07-31T08: 36:40Z -108.214597, 1347.4, 0.3,5.5, 4.4,2009- 07-31T08: 36:41Z -108.214597, 1347.5, 0.7,18. 6,4.4,2009- 07-31T08: 36:42Z dragon: ~/Maps$ ll 20090730_203638.log dragon: ~/Maps$ date dragon: ~/Maps$ date -u dragon: ~/Maps$
43.644043,
43.644048,
43.644052,
43.644050,
43.644052,
43.644058,
ccurley@
-rw-r--r-- 1 ccurley ccurley 384 2009-07-30 20:36 20090730_203638.log
ccurley@
Thu Jul 30 20:41:05 MDT 2009
ccurley@
Fri Jul 31 02:41:48 UTC 2009
ccurley@
If Tangogps is trying to log UTC (which would be preferable to local time), it's failing at that. Note that the times in the file are well after the time I examined it, even correcting for UTC.
xgps (a gpsd client, package gpsd-clients- 2.38-1ubuntu3- -i386) reports the time correctly.