diff options
author | Thibaud LeprĂȘtre <thibaud.lepretre@gmail.com> | 2016-11-21 10:27:22 +0300 |
---|---|---|
committer | Thibaud LeprĂȘtre <thibaud.lepretre@gmail.com> | 2016-11-21 10:27:22 +0300 |
commit | fd8359a8ce875e32a36eb3e0f975956c84436e08 (patch) | |
tree | d9841d72bc89f27c94d2a05887dd8157fdf4ff49 /docs | |
parent | a6113950df2715ccb5ec3aef72bc8a6879415052 (diff) |
Fix dateformat on documentation
closes #57
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user.md b/docs/user.md index e8c7414..91e8617 100644 --- a/docs/user.md +++ b/docs/user.md @@ -159,16 +159,16 @@ Modify the theme in `config.{toml,yml,json}` by changing `theme` variable to `tr ### Define date format -By default date will be printed like following: `mmmm d, yyyy`, example: "January 1, 2006" +By default date will be printed like following: `mmmm d, yyyy`, example: "January 2, 2006" You can customize it by setting ```toml [params] - dateFormat = "1 January 2006" + dateFormat = "2 January 2006" ``` -Will produce: "1 January 2006" +Will produce: "2 January 2006" ATTENTION: date format should respect `go` `Time` package syntax, please refer to https://golang.org/pkg/time/ @@ -180,7 +180,7 @@ Example: defaultContentLanguage = "fr-fr" ``` -"1 January 2006" will be output "1 Janvier 2006". +"21 July 2006" will be output "21 Juillet 2006". ### Define global keywords |