Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
d5eade5494
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      irc/client.go

+ 1
- 1
irc/client.go Parādīt failu

@@ -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 (

Notiek ielāde…
Atcelt
Saglabāt