mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
commands: Use short date format in CLI docs
To make it possible to compare the output. See #4598
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user