mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
commands: Use short date format in CLI docs
To make it possible to compare the output. See #4598
This commit is contained in:
parent
fca49d6c60
commit
e614d8a57c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ for rendering in Hugo.`,
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
now := time.Now().Format(time.RFC3339)
|
now := time.Now().Format("2006-01-02")
|
||||||
prepender := func(filename string) string {
|
prepender := func(filename string) string {
|
||||||
name := filepath.Base(filename)
|
name := filepath.Base(filename)
|
||||||
base := strings.TrimSuffix(name, path.Ext(name))
|
base := strings.TrimSuffix(name, path.Ext(name))
|
||||||
|
|
Loading…
Reference in a new issue