eventi con date ripetute (#347)
Some checks failed
External links check / Check all external links (push) Failing after 2m46s
Container Publish / build-image (push) Successful in 7m41s
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 33s

fixes #344

Reviewed-on: #347
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-11-24 09:54:16 +00:00 committed by Paolo Asperti
parent 58cdb06269
commit 2528a20ac6
2 changed files with 16 additions and 3 deletions

View File

@ -15,6 +15,9 @@ summary: Nei sabato pomeriggi 7-14-21 di dicembre, presso Fablab Bergamo, il BgL
tags: tags:
- rust - rust
- programmazione - programmazione
repeat:
interval_days: 7
count: 3
--- ---
Il **BGLUG** propone un corso di formazione gratuito sulla programmazione in linguaggio **Rust**. Il **BGLUG** propone un corso di formazione gratuito sulla programmazione in linguaggio **Rust**.
@ -33,4 +36,4 @@ Chi usasse Microsoft Windows, deve avere installato Windows Subsystem for Linux.
È richiesto segnalare la presenza in questo [modulo](https://cloud.bglug.it/apps/forms/s/x3HApGAm9DcRqWPd3F2rdMbi) per dimensionare correttamente l'aula. È richiesto segnalare la presenza in questo [modulo](https://cloud.bglug.it/apps/forms/s/x3HApGAm9DcRqWPd3F2rdMbi) per dimensionare correttamente l'aula.
Leggi le indicazioni per raggiungere la sede: [https://bglug.it/it/posts/2024/09/2024-09-28-cambio-entrata/]({{< relref "posts/2024/2024-09-28-cambio-entrata/">}}). Leggi le [indicazioni per raggiungere la sede]({{< relref "posts/2024/2024-09-28-cambio-entrata/">}}).

View File

@ -77,6 +77,16 @@ URL:{{ .Permalink }}
{{- $d := time.AsTime .Date }} {{- $d := time.AsTime .Date }}
{{- $duration := .Params.duration | default "1h" }} {{- $duration := .Params.duration | default "1h" }}
DTEND;TZID=Europe/Rome:{{dateFormat "20060102T150405" ($d.Add (time.ParseDuration $duration) ) }} DTEND;TZID=Europe/Rome:{{dateFormat "20060102T150405" ($d.Add (time.ParseDuration $duration) ) }}
{{- with .Params.repeat }}
{{- if and .interval_days .count }}
RRULE:FREQ=DAILY;INTERVAL={{ .interval_days }};COUNT={{ .count }}
{{- end }}
{{- with .other_dates }}
{{- range . }}
EXDATE;TZID=Europe/Rome:{{dateFormat "20060102T150405" . }}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
END:VEVENT END:VEVENT
{{- end }} {{- end }}