Changeset 15186 in osm


Ignore:
Timestamp:
2009-05-23T12:38:15+02:00 (15 years ago)
Author:
stoecker
Message:

fixed #2359

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java

    r14245 r15186  
    170170                    wpt.attr.put("time", "1970-01-01T00:00:00");
    171171                } else {
    172                     wpt.attr.put("time", tstamp);
    173                     System.out.println("timestamp: "+tstamp);
     172                    wpt.attr.put("time", WayPoint.GPXTIMEFMT.format(tstamp));
    174173                }
    175174                wpt.setTime();
     
    189188                wpt.attr.put("time", "1970-01-01T00:00:00");
    190189            } else {
    191                 wpt.attr.put("time", tstamp);
     190                wpt.attr.put("time", WayPoint.GPXTIMEFMT.format(tstamp));
    192191            }
    193192            wpt.setTime();
Note: See TracChangeset for help on using the changeset viewer.