aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-10-28 14:13:26 +0300
committerGitHub <noreply@github.com>2022-10-28 14:13:26 +0300
commit7b99f99332d80eb1383561d45e847213cec71d37 (patch)
tree658f293ac194a06ad4d0cce32ca9ad6c5702cdd9 /layouts/issues
parentbf352917ee75e0bfeaacc7157ebc460f39555c12 (diff)
parentd2572480c5272a69aa4a5a1d9e2db6ecbbd59469 (diff)
Respect timezone even in last modified date when timeZone was set #249
Respect timezone even in last modified date when `timeZone` was set
Diffstat (limited to 'layouts/issues')
-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 402c794..0dd8052 100644
--- a/layouts/issues/single.html
+++ b/layouts/issues/single.html
@@ -21,7 +21,7 @@
<p>{{ T "lastChecked" }}:
{{ if .Site.Params.dateFormat }}
- {{ .Lastmod.UTC.Format .Site.Params.dateFormat }}
+ {{ .Lastmod.Format .Site.Params.dateFormat }}
{{ else }}
{{ .Lastmod.Format "January 2, 2006 at 3:04 PM" }}
{{ end }}