Skip to content

Commit

Permalink
Use UTC instead
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Jul 28, 2023
1 parent b1a8f55 commit 9600d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serializer/serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ func (d *Deserializer) ReadTime(dest *time.Time, errProducer ErrProducer) *Deser
nanoseconds = math.MaxInt64
}

*dest = time.Unix(0, int64(nanoseconds)).Local()
*dest = time.Unix(0, int64(nanoseconds)).UTC()

d.offset += UInt64ByteSize

Expand Down

0 comments on commit 9600d57

Please sign in to comment.