force trailing zeroes in timestamp wire format

According to jwheare, ISO 8601 doesn't specify the behavior one way
or the other, and the server-time spec is also ambiguous, but this
is safest.
This commit is contained in:
Shivaram Lingamneni 2018-12-30 14:55:11 -05:00
parent ac480d782f
commit d5eade5494
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import (
const (
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
IdentTimeoutSeconds = 1.5
IRCv3TimestampFormat = "2006-01-02T15:04:05.999Z"
IRCv3TimestampFormat = "2006-01-02T15:04:05.000Z"
)
var (