mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 12:39:45 +00:00
Hey! This PR should change the behaviour of starting fullDay events that last several days. The goal was to change the behavior of the "Starting today, ends T" (T=Tomorrow) event, so it should show how many days it will occur from the first day on Before situation: a fullDay event that started 'today' and ends several days later showed Today on the first day. The rest of the days it showed X days left.  Y => Yesterday T => Tomorrow Target situation with this commit: a fullDay event that started 'today' shows 'X days left' from the first day on and 'Today' on the last day.  --------- Co-authored-by: Veeck <github@veeck.de>
34 lines
737 B
Plaintext
34 lines
737 B
Plaintext
BEGIN:VCALENDAR
|
|
VERSION:2.0
|
|
PRODID:-//ical.marudot.com//iCal Event Maker
|
|
CALSCALE:GREGORIAN
|
|
BEGIN:VTIMEZONE
|
|
TZID:Europe/Berlin
|
|
LAST-MODIFIED:20231222T233358Z
|
|
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Berlin
|
|
X-LIC-LOCATION:Europe/Berlin
|
|
BEGIN:DAYLIGHT
|
|
TZNAME:CEST
|
|
TZOFFSETFROM:+0100
|
|
TZOFFSETTO:+0200
|
|
DTSTART:19700329T020000
|
|
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
|
END:DAYLIGHT
|
|
BEGIN:STANDARD
|
|
TZNAME:CET
|
|
TZOFFSETFROM:+0200
|
|
TZOFFSETTO:+0100
|
|
DTSTART:19701025T030000
|
|
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
|
END:STANDARD
|
|
END:VTIMEZONE
|
|
BEGIN:VEVENT
|
|
DTSTAMP:20240306T225415Z
|
|
UID:1709765647426-75770@ical.marudot.com
|
|
DTSTART;VALUE=DATE:20240306
|
|
RRULE:FREQ=DAILY
|
|
DTEND;VALUE=DATE:20240307
|
|
SUMMARY:daily full days
|
|
END:VEVENT
|
|
END:VCALENDAR
|