Changeset 14081 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2018-08-04T01:59:46+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxWriter.java
r14075 r14081 9 9 import java.io.PrintWriter; 10 10 import java.nio.charset.StandardCharsets; 11 import java.text.DateFormat; 11 12 import java.util.Collection; 12 13 import java.util.Date; … … 35 36 */ 36 37 public class GpxWriter extends XmlWriter implements GpxConstants { 38 39 private final DateFormat gpxFormat = DateUtils.getGpxFormat(); 37 40 38 41 /** … … 117 120 Object val = obj.get(key); 118 121 if (val instanceof Date) { 119 simpleTag(key, DateUtils.getGpxFormat().format(val));122 simpleTag(key, gpxFormat.format(val)); 120 123 } 121 124 }
Note:
See TracChangeset
for help on using the changeset viewer.