From 737ccc228cb3ec8a83674cb38ac857d6e3b7191f Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Sun, 15 Jul 2018 11:02:00 +0300 Subject: [PATCH] Interpret the hour portion of the time in 24-hour mode if the format doesn't include AM/PM designation --- binding/binding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding/binding.go b/binding/binding.go index 0074411ff..0c65214e3 100644 --- a/binding/binding.go +++ b/binding/binding.go @@ -30,7 +30,7 @@ var timeFormats = []string{ "2006-01-02T15:04:05Z07:00", "01/02/2006", "2006-01-02", - "2006-01-02T03:04", + "2006-01-02T15:04", time.ANSIC, time.UnixDate, time.RubyDate,