Theme: use right locale in calendar-table
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 1s

This commit is contained in:
jtbx 2024-02-09 22:28:42 +01:00
parent 8a66b0a361
commit 23d96e2f87

View file

@ -12,7 +12,7 @@
{{- if eq ._type "vevent"}}
<tr>
{{- $start := time .dtstart }}
<td style="font-variant-numeric: tabular-nums;">{{ $start.Local.Format "Mon, 2006-01-02 15:04" }}</td>
<td style="font-variant-numeric: tabular-nums;">{{ time.Format "Mon, 2006-01-02 15:04" $start.Local }}</td>
{{- $potentialUrl := index (findRE `https?://\S*` .description 1) 0 }}
{{- if eq $potentialUrl nil }}
<td>{{ .summary }}</td>