Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-11-21 10:27:22 +0300
committerThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-11-21 10:27:22 +0300
commitfd8359a8ce875e32a36eb3e0f975956c84436e08 (patch)
treed9841d72bc89f27c94d2a05887dd8157fdf4ff49 /docs
parenta6113950df2715ccb5ec3aef72bc8a6879415052 (diff)
Fix dateformat on documentation
closes #57
Diffstat (limited to 'docs')
-rw-r--r--docs/user.md8
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