forked from Ruderverein-Donau-Linz/rowt
add timezone information in ics feed
This commit is contained in:
parent
d142ad9f11
commit
b237ff3850
@ -211,7 +211,26 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even
|
|||||||
r#"BEGIN:VCALENDAR
|
r#"BEGIN:VCALENDAR
|
||||||
VERSION:2.0
|
VERSION:2.0
|
||||||
PRODID:-//rudernlinz.at//Trips//DE
|
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;
|
let events = PlannedEvent::all(db).await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user