diff --git a/src/model/planned_event.rs b/src/model/planned_event.rs index 4ca91a5..0de77ff 100644 --- a/src/model/planned_event.rs +++ b/src/model/planned_event.rs @@ -211,7 +211,26 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even r#"BEGIN:VCALENDAR VERSION:2.0 PRODID:-//rudernlinz.at//Trips//DE -X-WR-CALNAME:Ruderausfahrten"#, +X-WR-CALNAME:Ruderausfahrten +BEGIN:VTIMEZONE +TZID:Europe/Vienna +TZURL:http://tzurl.org/zoneinfo-outlook/Europe/Vienna +X-LIC-LOCATION:Europe/Vienna +BEGIN:DAYLIGHT +TZOFFSETFROM:+0100 +TZOFFSETTO:+0200 +TZNAME:CEST +DTSTART:19700329T020000 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU +END:DAYLIGHT +BEGIN:STANDARD +TZOFFSETFROM:+0200 +TZOFFSETTO:+0100 +TZNAME:CET +DTSTART:19701025T030000 +RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU +END:STANDARD +END:VTIMEZONE"#, ); let events = PlannedEvent::all(db).await;