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:
parent
8723fe0c4a
commit
d334df9ade
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user