diff options
author | Shingo Omura <everpeace@gmail.com> | 2022-10-28 12:51:16 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 12:51:16 +0900 |
commit | d2572480c5272a69aa4a5a1d9e2db6ecbbd59469 (patch) | |
tree | 48f0be26fa210a5a7a9698bcd8ee4e7d174723e4 | |
parent | 04bd44a5cf60fd23b9a49163b590bc439690cae8 (diff) |
Respect timezone even when enableLastMod and dateFormat is set
-rw-r--r-- | layouts/issues/single.html | 2 |
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 }} |