Theme: use right locale in calendar-table #50

Merged
c6ristian merged 1 commit from feature/calendar-table-locale into main 2024-02-11 20:10:22 +01:00

View file

@ -12,7 +12,7 @@
{{- if eq ._type "vevent"}} {{- if eq ._type "vevent"}}
<tr> <tr>
{{- $start := time .dtstart }} {{- $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 }} {{- $potentialUrl := index (findRE `https?://\S*` .description 1) 0 }}
{{- if eq $potentialUrl nil }} {{- if eq $potentialUrl nil }}
<td>{{ .summary }}</td> <td>{{ .summary }}</td>