commands: Use short date format in CLI docs

To make it possible to compare the output.

See #4598
This commit is contained in:
Bjørn Erik Pedersen 2018-04-11 09:47:58 +02:00
parent fca49d6c60
commit e614d8a57c
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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))