Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 525d5e1

Browse files
committed
use java 8 fix for offset parsing
1 parent 83256e7 commit 525d5e1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,11 @@ public class JsonToProtoMessage implements ToProtoConverter<Object> {
9393
.appendLiteral(' ')
9494
.optionalEnd()
9595
.optionalStart()
96-
.appendOffset("+HH:MM", "+00:00")
96+
.appendZoneOrOffsetId()
9797
.optionalEnd()
9898
.optionalStart()
9999
.appendZoneText(TextStyle.SHORT)
100100
.optionalEnd()
101-
.optionalStart()
102-
.appendLiteral('Z')
103-
.optionalEnd()
104101
.toFormatter()
105102
.withZone(ZoneOffset.UTC);
106103

0 commit comments

Comments
 (0)