CI: Set timezone to Europe/Berlin

Evaluation of the ical data uses the local time when formating the output string as the input data uses UTC.
This commit is contained in:
jtbx (Jannik) 2023-11-04 19:43:29 +00:00
parent 5684e3d819
commit f826bcf7fe
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
variables:
TZ: Europe/Berlin
stages: stages:
- build - build
- deploy - deploy

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 | time.Format "Mon, 2006-01-02 15:04" }}</td> <td style="font-variant-numeric: tabular-nums;">{{ $start.Local.Format "Mon, 2006-01-02 15:04" }}</td>
<td>{{ .summary }}</td> <td>{{ .summary }}</td>
<td>{{ .location }}</td> <td>{{ .location }}</td>
</tr> </tr>