Skip to content
Snippets Groups Projects
Commit 1350358d authored by Tamer Tas's avatar Tamer Tas
Browse files

pkg/template: format template timestamps with RFC1123

parent 4222e2cd
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment