From 1487980fe0fa428ee007e379d4cd35ce9b9dbdc7 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 24 Dec 2019 15:03:37 -0500 Subject: [PATCH] Fix #710 --- irc/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/accounts.go b/irc/accounts.go index 9243826c..64a406c7 100644 --- a/irc/accounts.go +++ b/irc/accounts.go @@ -786,7 +786,7 @@ func (am *AccountManager) LoadAccount(accountName string) (result ClientAccount, func (am *AccountManager) deserializeRawAccount(raw rawClientAccount) (result ClientAccount, err error) { result.Name = raw.Name regTimeInt, _ := strconv.ParseInt(raw.RegisteredAt, 10, 64) - result.RegisteredAt = time.Unix(regTimeInt, 0) + result.RegisteredAt = time.Unix(regTimeInt, 0).UTC() e := json.Unmarshal([]byte(raw.Credentials), &result.Credentials) if e != nil { am.server.logger.Error("internal", "could not unmarshal credentials", e.Error())