Update to #1607
This commit is contained in:
parent
66e36378c1
commit
a25aa37e6a
|
@ -586,8 +586,7 @@ public abstract class BaseDateTimeDt extends BasePrimitive<Date> {
|
|||
}
|
||||
|
||||
private TimeZone getTimeZone(String offset) {
|
||||
return timezoneCache.computeIfAbsent(offset, (offsetLocal) ->
|
||||
TimeZone.getTimeZone("GMT" + offsetLocal));
|
||||
return timezoneCache.computeIfAbsent(offset, TimeZone::getTimeZone);
|
||||
}
|
||||
|
||||
public BaseDateTimeDt setTimeZone(TimeZone theTimeZone) {
|
||||
|
|
Loading…
Reference in New Issue