- Timestamp:
- 2014-07-11T02:59:09+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/ChangesetQuery.java
r7299 r7303 365 365 if (value == null || value.trim().isEmpty()) 366 366 throw new ChangesetQueryUrlException(tr("Unexpected value for ''{0}'' in changeset query url, got {1}", parameter, value)); 367 if (value.endsWith("Z")) {368 // OSM API generates date strings with time zone abbreviation "Z" which Java SimpleDateFormat369 // doesn't understand. Convert into GMT time zone before parsing.370 //371 value = value.substring(0,value.length() - 1) + "GMT+00:00";372 }373 367 DateFormat formatter = DateUtils.newIsoDateTimeFormat(); 374 368 try {
Note:
See TracChangeset
for help on using the changeset viewer.