Skip to content

Commit

Permalink
use java 8 fix for offset parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Nov 22, 2024
1 parent 83256e7 commit 525d5e1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,11 @@ public class JsonToProtoMessage implements ToProtoConverter<Object> {
.appendLiteral(' ')
.optionalEnd()
.optionalStart()
.appendOffset("+HH:MM", "+00:00")
.appendZoneOrOffsetId()
.optionalEnd()
.optionalStart()
.appendZoneText(TextStyle.SHORT)
.optionalEnd()
.optionalStart()
.appendLiteral('Z')
.optionalEnd()
.toFormatter()
.withZone(ZoneOffset.UTC);

Expand Down

0 comments on commit 525d5e1

Please sign in to comment.