Fix server-time tags timezone

We need to use UTC time.

git-svn-id: file:///srv/svn/repo/suika/trunk@240 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2020-04-06 20:05:49 +00:00
parent 8723fe0c4a
commit d334df9ade

View File

@ -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 {