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 }}