Opened 7 years ago

Last modified 5 years ago

#16995 closed defect

time string in GPX export is wrong — at Initial Version

Reported by: ikke1372@… Owned by: team
Priority: normal Milestone: 18.11
Component: Core Version:
Keywords: template_report gpx time Cc: cmuelle8

Description

What steps will reproduce the problem?

  1. select a route in Relations
  2. rightclick : export GPX file from first or last number
  3. save : works normal.

What is the expected result? : time string in gpx-file

<time>2018-10-19T12:55:03Z</time>

What happens instead? in gpx year = 50838

<trk>

<name>Platwijers Gele wandeling</name>
<trkseg>

<trkpt lat="50.9778408" lon="5.3039118">

<time>+50838-07-11T15:39:56Z</time>

</trkpt>

Please provide any additional information below. Attach a screenshot if possible.

I tried this with more then five routes : all with the same error :date in the time string is out of range year 50838 and not 2018

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-10-28 22:27:31 +0100 (Sun, 28 Oct 2018)
Build-Date:2018-10-28 21:33:32
Revision:14382
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14382 nl) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 550 MB / 3618 MB (220 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ buildings_tools (34572)
+ reverter (34552)
+ utilsplugin2 (34506)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1

Last errors/warnings:
- W: Cannot lock cache directory. Will not use disk cache
- W: No configuration settings found.  Using hardcoded default values for all pools.

Change History (1)

by jul2, 7 years ago

Attachment: 20181113nmo.gpx added

one of the exports (GPX)

Note: See TracTickets for help on using tickets.