From a25aa37e6afd6b9ff5bc48063e389a3541a200cb Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Fri, 16 Oct 2020 14:52:40 -0400 Subject: [PATCH] Update to #1607 --- .../main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java index f751de1be17..c6c0b8d0afa 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java @@ -586,8 +586,7 @@ public abstract class BaseDateTimeDt extends BasePrimitive { } 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) {