From 680c7ab860e70f29e3eba332dd67f0ba590f88c4 Mon Sep 17 00:00:00 2001
From: Luiz F. A. de PrĂ¡ <luiz.pra@luizalabs.com>
Date: Fri, 25 Feb 2022 15:11:29 +0000
Subject: [PATCH] Fix date i18n
---
layouts/posts/li.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/posts/li.html b/layouts/posts/li.html
index dd58396..9d8a659 100644
--- a/layouts/posts/li.html
+++ b/layouts/posts/li.html
@@ -1,4 +1,4 @@
<li>
- <span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
+ <span class="date">{{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a>
</li>
--
Gitblit v1.10.0