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

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHang Jiang <jianghangscu@gmail.com>2022-05-19 05:16:56 +0300
committerGitHub <noreply@github.com>2022-05-19 05:16:56 +0300
commita799a6bddef2b7e10ea1f7c5d4ccf687c8452082 (patch)
treeb677697f83aea3cacb32f3ce196b4bd79a7ece59
parent46ecde0fe8c845975dcd2f472742d05f200a86b0 (diff)
parent28df4ef833d3e5999f2cc9f45faac6f3c5f2234d (diff)
Merge pull request #125 from alexandresablayrolles/master
Match date format for FR to NL and EN languages
-rw-r--r--i18n/fr.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/i18n/fr.yaml b/i18n/fr.yaml
index b6ac575..bd54240 100644
--- a/i18n/fr.yaml
+++ b/i18n/fr.yaml
@@ -26,10 +26,12 @@ minuteRead:
other: "Temps de lecture {{ .ReadingTime }}min"
publishDate:
- other: '{{ .PublishDate.Format "02-01-2006" }}'
+ other: >-
+ {{ .PublishDate.Day }} {{ index $.Site.Data.months_fr (printf "%d" .PublishDate.Month) }} {{ .PublishDate.Year }}
publishDateFull:
- other: '{{ .PublishDate.Format "02-01-2006" }}'
+ other: >-
+ {{ .PublishDate.Day }} {{ index $.Site.Data.months_fr (printf "%d" .PublishDate.Month) }} {{ .PublishDate.Year }}
wordCount:
one: "{{ .WordCount }} mot"
@@ -47,4 +49,5 @@ poweredBy:
href='https://github.com/nodejh/hugo-theme-mini'>nodejh</a>
publishDateShort:
- other: '{{ .PublishDate.Format "02-01-2006" }}'
+ other: >-
+ {{ .PublishDate.Day }} {{ index $.Site.Data.months_fr (printf "%d" .PublishDate.Month) }} {{ .PublishDate.Year }}