diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 09:47:58 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 09:48:34 +0200 |
commit | e614d8a57c2ff5eef9270d51fcc6518398d7ff88 (patch) | |
tree | 6bbafcba6729ba2a92244844d6cb1844ce5f25be /commands/gendoc.go | |
parent | fca49d6c608d227049cb2f26895cfecc685f1c89 (diff) |
commands: Use short date format in CLI docs
To make it possible to compare the output.
See #4598
Diffstat (limited to 'commands/gendoc.go')
-rw-r--r-- | commands/gendoc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/gendoc.go b/commands/gendoc.go index c4840050b..0fe30bf19 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)) |