aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/single.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2023-12-01 14:09:01 +0200
committerGitHub <noreply@github.com>2023-12-01 14:09:01 +0200
commitdbdd52c835d5cf6eae7f4f4c00684094748e2c52 (patch)
tree2cac60b406e6ec242eb550311917a2907db67243 /layouts/issues/single.html
parenta698a01934c5975fa46672e775c24d81d1e6b817 (diff)
parent0671bb2dcdc6aea97e40bab2e8d709925c2b6471 (diff)
use dateFormat instead of .Date.Format for better localization #274 from MirMiz/dateformat-fix
Diffstat (limited to 'layouts/issues/single.html')
-rw-r--r--layouts/issues/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/issues/single.html b/layouts/issues/single.html
index 0dd8052..9aa135b 100644
--- a/layouts/issues/single.html
+++ b/layouts/issues/single.html
@@ -21,7 +21,7 @@
<p>{{ T "lastChecked" }}:
{{ if .Site.Params.dateFormat }}
- {{ .Lastmod.Format .Site.Params.dateFormat }}
+ {{ dateFormat .Site.Params.dateFormat .Lastmod }}
{{ else }}
{{ .Lastmod.Format "January 2, 2006 at 3:04 PM" }}
{{ end }}