Skip to content

Commit 2a8f26d

Browse files
committed
fix the default datetime formatter of OffsetDateTime dropping time zone info
1 parent 5146621 commit 2a8f26d

File tree

1 file changed

+1
-1
lines changed
  • kubernetes/src/main/java/io/kubernetes/client/openapi

1 file changed

+1
-1
lines changed

kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class JSON {
5151
.optionalStart()
5252
.appendFraction(ChronoField.NANO_OF_SECOND, 6, 6, true)
5353
.optionalEnd()
54-
.appendLiteral("Z")
54+
.appendOffsetId()
5555
.toFormatter();
5656

5757
private DateTypeAdapter dateTypeAdapter = new DateTypeAdapter();

0 commit comments

Comments
 (0)