From 23d96e2f8781b068b2b29067f6f5b27f9b940018 Mon Sep 17 00:00:00 2001 From: jtbx Date: Fri, 9 Feb 2024 22:28:42 +0100 Subject: [PATCH] Theme: use right locale in calendar-table --- themes/ccchh/layouts/shortcodes/calendar-table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/ccchh/layouts/shortcodes/calendar-table.html b/themes/ccchh/layouts/shortcodes/calendar-table.html index fe95d70..061579b 100644 --- a/themes/ccchh/layouts/shortcodes/calendar-table.html +++ b/themes/ccchh/layouts/shortcodes/calendar-table.html @@ -12,7 +12,7 @@ {{- if eq ._type "vevent"}} {{- $start := time .dtstart }} - {{ $start.Local.Format "Mon, 2006-01-02 15:04" }} + {{ time.Format "Mon, 2006-01-02 15:04" $start.Local }} {{- $potentialUrl := index (findRE `https?://\S*` .description 1) 0 }} {{- if eq $potentialUrl nil }} {{ .summary }} -- 2.44.1