Browse Source

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.
tags/v1.0.0-rc1
Shivaram Lingamneni 5 years ago
parent
commit
d5eade5494
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/client.go

+ 1
- 1
irc/client.go View File

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

Loading…
Cancel
Save