Ignore:
Timestamp:
2015-07-04T18:31:20+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #11650 - performance: avoid creation of Date objects when it is not needed (patch by shinigami, modified slightly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmWriter.java

    r8510 r8565  
    299299            }
    300300            if (!osm.isTimestampEmpty()) {
    301                 out.print(" timestamp='"+DateUtils.fromDate(osm.getTimestamp())+"'");
     301                out.print(" timestamp='"+DateUtils.fromTimestamp(osm.getRawTimestamp())+"'");
    302302            }
    303303            // user and visible added with 0.4 API
Note: See TracChangeset for help on using the changeset viewer.