From 9d0a4a7124589aa2cf9ed9c586d03ec1bf5406c7 Mon Sep 17 00:00:00 2001 From: MM <14907823+MirMiz@users.noreply.github.com> Date: Sun, 23 Apr 2023 23:04:40 +0200 Subject: use dateFormat instead of .Date.Format for better localization --- layouts/issues/issue.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html index 71bb30a..b7ec2ce 100644 --- a/layouts/issues/issue.html +++ b/layouts/issues/issue.html @@ -12,7 +12,7 @@ {{ if .Site.Params.dateFormat }} - {{ .Date.Format .Site.Params.dateFormat }} + {{ dateFormat .Site.Params.dateFormat .Params.date }} {{ else }} {{ .Date.Format "January 2, 2006 at 3:04 PM" }} {{ end }} -- cgit v1.2.3-70-g09d2