Index: trunk/src/org/openstreetmap/josm/io/GpxWriter.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/GpxWriter.java	(revision 14079)
+++ trunk/src/org/openstreetmap/josm/io/GpxWriter.java	(revision 14081)
@@ -9,4 +9,5 @@
 import java.io.PrintWriter;
 import java.nio.charset.StandardCharsets;
+import java.text.DateFormat;
 import java.util.Collection;
 import java.util.Date;
@@ -35,4 +36,6 @@
  */
 public class GpxWriter extends XmlWriter implements GpxConstants {
+
+    private final DateFormat gpxFormat = DateUtils.getGpxFormat();
 
     /**
@@ -117,5 +120,5 @@
                     Object val = obj.get(key);
                     if (val instanceof Date) {
-                        simpleTag(key, DateUtils.getGpxFormat().format(val));
+                        simpleTag(key, gpxFormat.format(val));
                     }
                 }
