forked from External/ergo
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
|
|
@ -560,7 +560,7 @@ func (am *AccountManager) loadLastSignoff(account string) (lastSignoff time.Time
|
|||
})
|
||||
lsNum, err := strconv.ParseInt(lsText, 10, 64)
|
||||
if err != nil {
|
||||
return time.Unix(0, lsNum)
|
||||
return time.Unix(0, lsNum).UTC()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue