diff --git a/pom.xml b/pom.xml index 9ae83771..33d0f3cf 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ - 1.0.0 + 1.1.0 1.0.17 diff --git a/src/test/java/org/kiwiproject/json/JsonHelperBasicsTest.java b/src/test/java/org/kiwiproject/json/JsonHelperBasicsTest.java index ba9c1512..46b12fc4 100644 --- a/src/test/java/org/kiwiproject/json/JsonHelperBasicsTest.java +++ b/src/test/java/org/kiwiproject/json/JsonHelperBasicsTest.java @@ -730,7 +730,7 @@ private Foo newFoo() { private Foo newFoo(Instant instant) { var date = Date.from(instant); var timestamp = Timestamp.from(instant); - var utcZoneId = ZoneId.of("UTC"); + var utcZoneId = ZoneId.of("UTC").normalized(); var localDT = LocalDateTime.ofInstant(instant, utcZoneId); var zonedDT = ZonedDateTime.from(instant.atOffset(ZoneOffset.of("Z")).atZoneSameInstant(utcZoneId)); var duration = Duration.ofMinutes(1);