Theme: use right locale in calendar-table
This commit is contained in:
parent
8a66b0a361
commit
23d96e2f87
|
@ -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