Merge pull request #1679 from sculptor189/date-modify

Correct time format
This commit is contained in:
Nuno Coração 2024-08-28 13:10:07 +01:00 committed by GitHub
commit 363ba66e14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 */ -}}