Ignore:
Timestamp:
2016-02-04T22:14:23+01:00 (8 years ago)
Author:
simon04
Message:

see #12485 - Fix parsing of sub-seconds

Sometimes there are really strange bugs …

File:
1 edited

Legend:

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

    r9394 r9739  
    9595                parsePart2(str, 14),
    9696                parsePart2(str, 17));
     97            c.set(Calendar.MILLISECOND, 0);
    9798
    9899            if (str.length() == 25) {
     
    116117                parsePart2(str, 14),
    117118                parsePart2(str, 17));
     119            c.set(Calendar.MILLISECOND, 0);
    118120            long millis = parsePart3(str, 20);
    119121            if (str.length() == 29) {
Note: See TracChangeset for help on using the changeset viewer.