Ignore:
Timestamp:
2016-06-24T22:27:38+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #13047 - Make time zone test work in any time zone (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

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

    r10475 r10483  
    134134            // example date format "18-AUG-08 13:33:03"
    135135            SimpleDateFormat f = new SimpleDateFormat("dd-MMM-yy HH:mm:ss");
     136            f.setTimeZone(calendarLocale.getTimeZone());
    136137            Date d = f.parse(str, new ParsePosition(0));
    137138            if (d != null)
Note: See TracChangeset for help on using the changeset viewer.