Fix date i18n

This commit is contained in:
Luiz F. A. de Prá
2022-02-25 12:11:29 -03:00
parent f67caf19b9
commit 680c7ab860
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
{{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
</time>
</span>
<span class="reading-time">