Explorar o código

Fix: including millisecond trailing zeros

Amir Khan %!s(int64=8) %!d(string=hai) anos
pai
achega
a43f090b8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      psiphon/common/utils.go

+ 1 - 1
psiphon/common/utils.go

@@ -35,7 +35,7 @@ import (
 	"time"
 )
 
-const RFC3339Milli = "2006-01-02T15:04:05.999Z07:00"
+const RFC3339Milli = "2006-01-02T15:04:05.000Z07:00"
 
 // Contains is a helper function that returns true
 // if the target string is in the list.