fix(i18n): fix unlocalized article publish/lastUpdated date (#1050)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1040
This commit is contained in:
weeix
2024-09-07 13:48:09 +02:00
committed by GitHub
parent fcd56dd21c
commit 374b25a60f
2 changed files with 2 additions and 2 deletions
@@ -32,7 +32,7 @@
<div>
{{ partial "helper/icon" "date" }}
<time class="article-time--published">
{{- .Date.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
{{- .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
</time>
</div>
{{ end }}