mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
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:
parent
ac480d782f
commit
d5eade5494
@ -28,7 +28,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
|
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
|
||||||
IdentTimeoutSeconds = 1.5
|
IdentTimeoutSeconds = 1.5
|
||||||
IRCv3TimestampFormat = "2006-01-02T15:04:05.999Z"
|
IRCv3TimestampFormat = "2006-01-02T15:04:05.000Z"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user