From 13635747c4213de155c7984da71705bffb9461bd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Apr 2020 22:05:49 +0200 Subject: [PATCH] Fix server-time tags timezone We need to use UTC time. --- upstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstream.go b/upstream.go index 6f8a1bc..8a49b75 100644 --- a/upstream.go +++ b/upstream.go @@ -235,7 +235,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error { } if _, ok := msg.Tags["time"]; !ok { - msg.Tags["time"] = irc.TagValue(time.Now().Format(serverTimeLayout)) + msg.Tags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout)) } switch msg.Command {