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

@ -1,7 +1,7 @@
---
title: "Laboratorio di Rust tenuto da Carlo Milanesi"
date: 2024-12-07T15:30:00+01:00
publishDate: 2024-11-20T20:03:27+01:00
publishDate: 2024-11-20T20:03:27+01:00
duration: 2h
slug: "laboratorio-rust"
type: post
@ -14,7 +14,10 @@ image_alt: "Logo di rust"
summary: Nei sabato pomeriggi 7-14-21 di dicembre, presso Fablab Bergamo, il BgLUG organizza un laboratorio pratico di Rust. Mentore dell'evento sarà Carlo Milanesi, autore di numerosi testi sull'argomento.
tags:
- rust
- programmazione
- programmazione
repeat:
interval_days: 7
count: 3
---
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.
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 }}
{{- $duration := .Params.duration | default "1h" }}
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:VEVENT
{{- end }}