From 220bc2c609f3682db2390a6e33e58f9cdee53042 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Wed, 7 Sep 2016 21:48:03 +1000 Subject: [PATCH] server-time: Fix time format --- irc/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/client.go b/irc/client.go index 0ffe23dc..cb0f2e63 100644 --- a/irc/client.go +++ b/irc/client.go @@ -355,9 +355,9 @@ func (client *Client) Send(tags *map[string]ircmsg.TagValue, prefix string, comm // attach server-time if client.capabilities[ServerTime] { if tags == nil { - tags = ircmsg.MakeTags("time", time.Now().Format(time.RFC3339)) + tags = ircmsg.MakeTags("time", time.Now().Format("2006-01-02T15:04:05.999Z")) } else { - (*tags)["time"] = ircmsg.MakeTagValue(time.Now().Format(time.RFC3339)) + (*tags)["time"] = ircmsg.MakeTagValue(time.Now().Format("2006-01-02T15:04:05.999Z")) } }