hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit e614d8a57c2ff5eef9270d51fcc6518398d7ff88
parent fca49d6c608d227049cb2f26895cfecc685f1c89
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 11 Apr 2018 09:47:58 +0200

commands: Use short date format in CLI docs

To make it possible to compare the output.

See #4598

Diffstat:
Mcommands/gendoc.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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))