From b1a8f5595de54c5318c023576310257ed36f6438 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Fri, 28 Jul 2023 11:33:57 +0200 Subject: [PATCH] Fix timezone in `ReadTime` --- serializer/serializer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer/serializer.go b/serializer/serializer.go index 336fc2da8..bf18cb1b2 100644 --- a/serializer/serializer.go +++ b/serializer/serializer.go @@ -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