Skip to content

Commit

Permalink
Fix timezone in ReadTime
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Jul 28, 2023
1 parent 3ae9951 commit b1a8f55
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))
*dest = time.Unix(0, int64(nanoseconds)).Local()

d.offset += UInt64ByteSize

Expand Down

0 comments on commit b1a8f55

Please sign in to comment.