diff options
author | Alex Sablayrolles <asablayrolles@fb.com> | 2022-05-15 20:19:18 +0300 |
---|---|---|
committer | Alex Sablayrolles <asablayrolles@fb.com> | 2022-05-15 22:18:45 +0300 |
commit | 28df4ef833d3e5999f2cc9f45faac6f3c5f2234d (patch) | |
tree | b677697f83aea3cacb32f3ce196b4bd79a7ece59 | |
parent | 46ecde0fe8c845975dcd2f472742d05f200a86b0 (diff) |
Fix french date
-rw-r--r-- | i18n/fr.yaml | 9 |
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 }} |