Theme: use right locale in calendar-table #50
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue