Ignore:
Timestamp:
2020-08-26T23:18:51+02:00 (4 years ago)
Author:
simon04
Message:

see #19716 - ChooseTrackVisibilityAction: do not report unspecified timespan as 1970-01-01

File:
1 edited

Legend:

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

    r16864 r16942  
    724724                .mapToLong(WayPoint::getTimeInMillis)
    725725                .summaryStatistics();
    726         return statistics.getCount() == 0
     726        return statistics.getCount() == 0 || (statistics.getMin() == 0 && statistics.getMax() == 0)
    727727                ? null
    728728                : new Date[]{new Date(statistics.getMin()), new Date(statistics.getMax())};
Note: See TracChangeset for help on using the changeset viewer.