diff --git a/pkg/template/metadata.go b/pkg/template/metadata.go index 7438ae43b74d48f1210f6c799dd8d7438a53cb75..34f12122cbb4574535c77bfedabb163e4dcea044 100644 --- a/pkg/template/metadata.go +++ b/pkg/template/metadata.go @@ -25,7 +25,8 @@ func (m Metadata) String() []string { type JSONTime time.Time const ( - timeFormat = "Mon Jan 2 15:04 -0700 +07 2006" + // "Mon, 02 Jan 2006 15:04:05 MST" + timeFormat = time.RFC1123 ) // NewTime returns a new JSONTime containing the current time.