From e614d8a57c2ff5eef9270d51fcc6518398d7ff88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 11 Apr 2018 09:47:58 +0200 Subject: [PATCH] commands: Use short date format in CLI docs To make it possible to compare the output. See #4598 --- commands/gendoc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/gendoc.go b/commands/gendoc.go index c4840050..0fe30bf1 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.go @@ -57,7 +57,7 @@ for rendering in Hugo.`, return err } } - now := time.Now().Format(time.RFC3339) + now := time.Now().Format("2006-01-02") prepender := func(filename string) string { name := filepath.Base(filename) base := strings.TrimSuffix(name, path.Ext(name))