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