Ignore:
Timestamp:
2017-12-17T15:37:11+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15606 - export relation to GPX file or convert to a new GPX layer (patch by cmuelle8, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r12656 r13210  
    143143    public void setTime() {
    144144        setTimeFromAttribute();
     145    }
     146
     147    /**
     148     * Set the the time stamp of the waypoint into seconds from the epoch,
     149     * @param time millisecond from the epoch
     150     * @since 13210
     151     */
     152    public void setTime(long time) {
     153        this.time = time / 1000.;
    145154    }
    146155
Note: See TracChangeset for help on using the changeset viewer.