correct time format

This commit is contained in:
sculptor189 2024-08-10 19:23:16 -04:00
parent 580f36f0de
commit 3ea13cfe37
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<time datetime="{{ . }}">
<time datetime="{{ . | time.Format "2006-01-02T15:04:05-07:00" }}">
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) -}}
</time>
{{- /* Trim EOF */ -}}

View file

@ -1,4 +1,4 @@
<time datetime="{{ . }}">
<time datetime="{{ . | time.Format "2006-01-02T15:04:05-07:00" }}">
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) -}}
</time>
{{- /* Trim EOF */ -}}