From a098764110b882a261fe0bf6ad14b7a0ea6e9f72 Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 15 Oct 2023 17:17:20 -0400 Subject: static/js/timeago: Localize time --- themes/default/layouts/partials/meta-context-menu.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'themes/default/layouts/partials') diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html index 064d0d8..9429355 100644 --- a/themes/default/layouts/partials/meta-context-menu.html +++ b/themes/default/layouts/partials/meta-context-menu.html @@ -27,11 +27,21 @@ {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/calendar.svg")) -}} - {{ .Date | time.Format "Jan 2 2006" -}} + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/clock.svg")) -}} - {{ .Date | time.Format "15:04 MST" -}} + -- cgit v1.2.3