Format.
This commit is contained in:
parent
f3a7cf629c
commit
a72a5ced53
|
@ -875,11 +875,9 @@ public class FastDateParser implements DateParser, Serializable {
|
|||
TimeZone tz;
|
||||
if (value.charAt(0) == '+' || value.charAt(0) == '-') {
|
||||
tz = TimeZone.getTimeZone("GMT" + value);
|
||||
}
|
||||
else if(value.regionMatches(true, 0, "GMT", 0, 3)) {
|
||||
} else if (value.regionMatches(true, 0, "GMT", 0, 3)) {
|
||||
tz = TimeZone.getTimeZone(value.toUpperCase());
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
tz = tzNames.get(value.toLowerCase(locale));
|
||||
}
|
||||
cal.setTimeZone(tz);
|
||||
|
|
Loading…
Reference in New Issue