mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-24 16:18:10 -07:00
time.Unix still requires normalization to UTC
This commit is contained in:
+1
-1
@@ -80,5 +80,5 @@ func (err *IncompatibleSchemaError) Error() string {
|
||||
}
|
||||
|
||||
func NanoToTimestamp(nanotime int64) string {
|
||||
return time.Unix(0, nanotime).Format(IRCv3TimestampFormat)
|
||||
return time.Unix(0, nanotime).UTC().Format(IRCv3TimestampFormat)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user