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/single.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index f102380..6c7509e 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -17,7 +17,7 @@
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
- {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
+ {{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
</time>
</span>
<span class="reading-time">
--
Gitblit v1.10.0