From 9600d578f03b49717438679671175756b1b35f95 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Fri, 28 Jul 2023 11:50:14 +0200 Subject: [PATCH] Use UTC instead --- serializer/serializer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializer/serializer.go b/serializer/serializer.go index bf18cb1b2..f6d63e49c 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)).Local() + *dest = time.Unix(0, int64(nanoseconds)).UTC() d.offset += UInt64ByteSize