From 525d5e15353eec139a357b41761c2d22146dd4ed Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Fri, 22 Nov 2024 14:03:58 -0500 Subject: [PATCH] use java 8 fix for offset parsing --- .../google/cloud/bigquery/storage/v1/JsonToProtoMessage.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java index ba388fc3d..c7c63aa6f 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java @@ -93,14 +93,11 @@ public class JsonToProtoMessage implements ToProtoConverter { .appendLiteral(' ') .optionalEnd() .optionalStart() - .appendOffset("+HH:MM", "+00:00") + .appendZoneOrOffsetId() .optionalEnd() .optionalStart() .appendZoneText(TextStyle.SHORT) .optionalEnd() - .optionalStart() - .appendLiteral('Z') - .optionalEnd() .toFormatter() .withZone(ZoneOffset.UTC);