🔧 Revert to Date.Format instead of time.Format

This commit is contained in:
Carlos Beleña
2022-01-24 00:38:55 +01:00
parent 57c42a12c4
commit 6313f69328
+1 -1
View File
@@ -1,4 +1,4 @@
<time datetime="{{ . }}">
{{- . | time.Format (site.Params.article.dateFormat | default "2 January 2006") -}}
{{- .Format (site.Params.article.dateFormat | default "2 January 2006") -}}
</time>
{{- /* Trim EOF */ -}}