row_event converts timestamps to UTC

This commit is contained in:
Shlomi Noach 2016-08-22 15:45:38 +02:00
parent 7c792d3ba3
commit 950fde2ad6

View File

@ -609,7 +609,7 @@ func decodeTimestamp2(data []byte, dec uint16) (string, int, error) {
return "0000-00-00 00:00:00", n, nil return "0000-00-00 00:00:00", n, nil
} }
t := time.Unix(sec, usec*1000) t := time.Unix(sec, usec*1000).UTC()
return t.Format(TimeFormat), n, nil return t.Format(TimeFormat), n, nil
} }