Opened 16 years ago
Closed 16 years ago
#1896 closed defect (fixed)
[PATCH] GPX timestamp reading is broken if there's a timezone but no fractional seconds
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Revision 1167 broke timestamp reading of gpx-files if the timestamp doesn't contain only contains whole seconds and after that a timezone. This affects mostly the coloring of tracks by velocity.
All my gpx files (exported from Viking, originally from a Garmin eTrex Legend HCx) have timestamps in format: "yyyy-MM-dd'T'HH:mm:ss'Z'", which can't be parsed with the changed format: "yyyy-MM-dd'T'HH:mm:ss.SSS". The old format "yyyy-MM-dd'T'HH:mm:ss" worked just fine.
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | gpxtime.patch added |
---|
comment:1 by , 16 years ago
Summary: | GPX timestamp reading is broken if there's a timezone but no fractional seconds → [PATCH] GPX timestamp reading is broken if there's a timezone but no fractional seconds |
---|
comment:2 by , 16 years ago
I guess this might also affect the display of live audio trace, as on my tracks (they have timezone but no fractional seconds) the play head is sticked to the end of the track. I'd be grateful if someone having the skills to incorporate this patch could release a fixed compiled version.
This patch should fix the bug