aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-date-time.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-03-17 03:21:58 -0400
committertdro <tdro@noreply.example.com>2023-03-17 03:24:19 -0400
commit3e2f72e296efe7d7268433f3edb6bacab7ad20d8 (patch)
tree42cbd849babcf972ab6acec8843222a6f593d733 /themes/default/layouts/partials/meta-date-time.html
parent06aea1d89d6db9b881a004f897e7f7f42fd9ebb2 (diff)
downloadcanory-3e2f72e296efe7d7268433f3edb6bacab7ad20d8.tar.gz
canory-3e2f72e296efe7d7268433f3edb6bacab7ad20d8.tar.bz2
canory-3e2f72e296efe7d7268433f3edb6bacab7ad20d8.zip
themes/default/layouts: Enforce military time
Diffstat (limited to 'themes/default/layouts/partials/meta-date-time.html')
-rw-r--r--themes/default/layouts/partials/meta-date-time.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/meta-date-time.html b/themes/default/layouts/partials/meta-date-time.html
index bd42fcc..5b26c68 100644
--- a/themes/default/layouts/partials/meta-date-time.html
+++ b/themes/default/layouts/partials/meta-date-time.html
@@ -3,7 +3,7 @@ title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST"
{{ if .Lastmod.After .Date }}{{ .Lastmod | time.Format "Edited: Monday, January 2, 2006 at 15:04:05 MST" }}{{ end }}">
{{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/calendar.svg")) -}}
<time datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}">
- {{ (.Date.Local | time.Format "3:04 PM Jan 2 2006") -}}
+ {{ (.Date.Local | time.Format "15:04 Jan 2 2006") -}}
</time>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
{{ if .Lastmod.After .Date }}