summaryrefslogtreecommitdiff
path: root/irc/tokens.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert.hirtz@laposte.net>2020-06-04 10:36:01 +0200
committerHubert Hirtz <hubert.hirtz@laposte.net>2020-06-04 10:36:01 +0200
commit7d3115d6e87d0594d72e718466df8aa0e85161ec (patch)
treeaada58155cf700b17a518b9eb31c689ef267a32d /irc/tokens.go
parentAlso show QUITs (diff)
Fix timezone with server-time
Diffstat (limited to '')
-rw-r--r--irc/tokens.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/irc/tokens.go b/irc/tokens.go
index a2e618e..3d9a034 100644
--- a/irc/tokens.go
+++ b/irc/tokens.go
@@ -253,7 +253,8 @@ func (msg *Message) Time() (t time.Time, ok bool) {
return
}
- t = time.Date(year, time.Month(month), day, hour, minute, second, millis*1000000, time.Local)
+ t = time.Date(year, time.Month(month), day, hour, minute, second, millis*1000000, time.UTC)
+ t = t.Local()
return
}