Ignore:
Timestamp:
2018-11-28T22:59:45+01:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14456

Location:
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/TangoGPS.java

    r34475 r34749  
    2929import org.openstreetmap.josm.spi.preferences.Config;
    3030import org.openstreetmap.josm.tools.Logging;
     31import org.openstreetmap.josm.tools.date.DateUtils;
    3132
    3233/**
     
    6768                                parseLatLon(lineElements));
    6869                        currentWayPoint.attr.put("ele", lineElements[2]);
    69                         currentWayPoint.attr.put("time", lineElements[6]);
    70                         currentWayPoint.setTime();
     70                        currentWayPoint.setTimeInMillis(DateUtils.tsFromString(lineElements[6]));
    7171                        currentTrackSeg.add(currentWayPoint);
    7272                        imported++;
  • applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/Tcx.java

    r34748 r34749  
    159159                                        if (waypt != null) {
    160160                                            if (startTime != null) {
    161                                                 waypt.attr.put("name", "LAP"
    162                                                                + (++lap));
     161                                                waypt.attr.put("name", "LAP" + ++lap);
    163162                                                gpxData.waypoints.add(waypt);
    164163                                                startTime = null;
Note: See TracChangeset for help on using the changeset viewer.