We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d5a7f0 commit 714f02eCopy full SHA for 714f02e
2 files changed
time/time.go
@@ -3,7 +3,8 @@ package time
3
import "time"
4
5
// DeisDatetimeFormat is the standard date/time representation used in Deis.
6
-const DeisDatetimeFormat string = "2006-01-02T15:04:05MST"
+const DeisDatetimeFormat string = "2006-01-02T15:04:05MST"
7
+
8
// Different format to deal with the pyopenssl formatting
9
// http://www.pyopenssl.org/en/stable/api/crypto.html#OpenSSL.crypto.X509.get_notAfter
10
const PyOpenSSLTimeDateTimeFormat string = "2006-01-02T15:04:05"
time/time_test.go
@@ -6,7 +6,7 @@ import (
func TestUnMarshalText(t *testing.T) {
dummyTime := Time{}
-
goodTimeFormats := []string{
11
"2006-01-02T15:04:05MST",
12
"2006-01-02T15:04:05",
0 commit comments