mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
time.Unix still requires normalization to UTC
This commit is contained in:
parent
8031085c26
commit
fab0630180
6 changed files with 10 additions and 10 deletions
|
|
@ -405,7 +405,7 @@ func (mysql *MySQL) msgidToTime(msgid string) (result time.Time, err error) {
|
|||
if mysql.logError("could not resolve msgid to time", err) {
|
||||
return
|
||||
}
|
||||
result = time.Unix(0, nanotime)
|
||||
result = time.Unix(0, nanotime).UTC()
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue