Ignore:
Timestamp:
2018-08-03T18:18:43+02:00 (17 months ago)
Author:
Don-vip
Message:

see #16550 - use UTC by default for GPX timestamps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java

    r14055 r14079  
    263263     */
    264264    public static DateFormat getGpxFormat() {
    265         return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
     265        SimpleDateFormat result = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
     266        result.setTimeZone(UTC);
     267        return result;
    266268    }
    267269
Note: See TracChangeset for help on using the changeset viewer.