diff --git a/projects/Time/24/org/joda/time/format/DateTimeParserBucket.java b/projects/Time/24/org/joda/time/format/DateTimeParserBucket.java index b985cef..7c37fc1 100644 --- a/projects/Time/24/org/joda/time/format/DateTimeParserBucket.java +++ b/projects/Time/24/org/joda/time/format/DateTimeParserBucket.java @@ -352,6 +352,11 @@ public long computeMillis(boolean resetFields, String text) { for (int i = 0; i < count; i++) { millis = savedFields[i].set(millis, resetFields); } + if (resetFields) { + for (int i = 0; i < count; i++) { + millis = savedFields[i].set(millis, i == (count - 1)); + } + } } catch (IllegalFieldValueException e) { if (text != null) { e.prependMessage("Cannot parse \"" + text + '"');