summaryrefslogtreecommitdiffstats
path: root/commands/gendoc.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:38:58 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:51:07 +0200
commita7d00fc39e87a5cac99b3a2380f5cc8c135d2b4b (patch)
tree952bd16111a0a56225d2b6dc2c726556e4392503 /commands/gendoc.go
parent1e233b1c4598fd8cbce7da8a67bf2c4918c6047e (diff)
commands: Add basic server test
See #4598
Diffstat (limited to 'commands/gendoc.go')
-rw-r--r--commands/gendoc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/gendoc.go b/commands/gendoc.go
index 3446c2622..8312191f2 100644
--- a/commands/gendoc.go
+++ b/commands/gendoc.go
@@ -66,7 +66,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))