aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/issue.html
diff options
context:
space:
mode:
authorMM <14907823+MirMiz@users.noreply.github.com>2023-04-23 23:04:40 +0200
committerGitHub <noreply@github.com>2023-04-23 23:04:40 +0200
commit9d0a4a7124589aa2cf9ed9c586d03ec1bf5406c7 (patch)
tree776082da7b79849577a05d542ff0d3ae006cccd6 /layouts/issues/issue.html
parent5877449148d7e4aceeb6e2a809a78c90f61385c8 (diff)
use dateFormat instead of .Date.Format for better localization
Diffstat (limited to 'layouts/issues/issue.html')
-rw-r--r--layouts/issues/issue.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<small class="date">
{{ 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 }}