Changeset 14055 in josm for trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
- Timestamp:
- 2018-07-28T01:03:54+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r14037 r14055 773 773 774 774 if (time > 0) { 775 wpt.put(GpxConstants.PT_TIME, DateUtils.fromTimestamp(time)); 775 776 wpt.setTime(time); 777 } else if (n.hasKey(GpxConstants.PT_TIME)) { 778 wpt.put(GpxConstants.PT_TIME, DateUtils.fromString(n.get(GpxConstants.PT_TIME))); 779 wpt.setTime(); 776 780 } else if (!n.isTimestampEmpty()) { 777 wpt.put( "time", DateUtils.fromTimestamp(n.getRawTimestamp()));781 wpt.put(GpxConstants.PT_TIME, DateUtils.fromTimestamp(n.getRawTimestamp())); 778 782 wpt.setTime(); 779 783 }
Note:
See TracChangeset
for help on using the changeset viewer.