Year 2016 problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igotu2gpx |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just discovered that my i-gotU GT-120 doesn't properly work in the Year 2016:
I recorded two tracks, one on 2015-12-31, one on 2016-01-01. The igotugui reports them as 2015-12-31 (correct) and 2000-01-01 (wrong year).
Another check today revealed that month, day and time are correct, only the year 2016 is set to 2000. I'm not sure if this is a device or software problem, but a test with the original software @trip PC (old version because I didn't update Windows for years) doesn't even show these two tracks from the year 2016.
Also in the exported GPX file, the year is 2000, see attached files.
No matter where the problem is, I think it's easy to implement at least a hack which fixes years <2010 or so by adding 16 to them.
me:~$ dpkg -s igotu2gpx
Package: igotu2gpx
Architecture: amd64
Version: 0.4.0-0~
me:~$ uname -a
Linux 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
me:~$ lsb_release -a
Description: Ubuntu 14.04.3 LTS
Related branches
- MobileAction i-gotU USB GPS travel logger Mac/Linux developers: Pending requested
-
Diff: 186 lines (+60/-4)7 files modified.bzrignore (+3/-0)
HACKING (+30/-2)
src/connections/serialconnection/serialconnection.cpp (+1/-0)
src/lib/igotu/commands.cpp (+3/-1)
src/lib/igotu/igotucontrol.cpp (+9/-0)
src/lib/igotu/igotupoints.cpp (+13/-1)
src/lib/igotu/igotupoints.h (+1/-0)
Changed in igotu2gpx: | |
status: | New → Confirmed |
This email address is being phased out. Please use <email address hidden> in the future.
--Ron