shithub: hugo

Download patch

ref: e614d8a57c2ff5eef9270d51fcc6518398d7ff88
parent: fca49d6c608d227049cb2f26895cfecc685f1c89
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Apr 11 05:47:58 EDT 2018

commands: Use short date format in CLI docs

To make it possible to compare the output.

See #4598

--- a/commands/gendoc.go
+++ b/commands/gendoc.go
@@ -57,7 +57,7 @@
 				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))