﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16995	time string in GPX export is wrong	ikke1372@…	team	"==== 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

{{{
#!xml
 <time>2018-10-19T12:55:03Z</time>
}}}

==== What happens instead? in gpx year = 50838

{{{
#!xml
  <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.
}}}
"	defect	new	normal		Core			template_report	
