forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[icalendar] Fix internal calculation for retrieving events for comman…
…d tags (openhab#11178) * [icalendar] Fixes openhab#11084: Different method for retrieving events Replaced retrieval of events for CommandTags by another, already implemented method, fixing wrong behaviour in case of moved or removed events. Also updated dependencies to get this binding resolvable again. Signed-Off-By: Michael Wodniok <michi@noorganization.org>
- Loading branch information
Showing
4 changed files
with
112 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
bundles/org.openhab.binding.icalendar/src/test/resources/test-issue11084.ics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
BEGIN:VCALENDAR | ||
PRODID:-//Google Inc//Google Calendar 70.9054//EN | ||
VERSION:2.0 | ||
CALSCALE:GREGORIAN | ||
METHOD:PUBLISH | ||
X-WR-CALNAME:ohtest | ||
X-WR-TIMEZONE:UTC | ||
BEGIN:VTIMEZONE | ||
TZID:Europe/Brussels | ||
X-LIC-LOCATION:Europe/Brussels | ||
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 | ||
BEGIN:VEVENT | ||
DTSTART;TZID=Europe/Brussels:20210816T184500 | ||
DTEND;TZID=Europe/Brussels:20210816T190000 | ||
DTSTAMP:20210816T174418Z | ||
UID:pseudo7346893o7r8328zheh@google.com | ||
RECURRENCE-ID;TZID=Europe/Brussels:20210816T183000 | ||
CREATED:20210816T161602Z | ||
DESCRIPTION:BEGIN:E_Test_Cal:ON | ||
LAST-MODIFIED:20210816T162009Z | ||
LOCATION: | ||
SEQUENCE:1 | ||
STATUS:CONFIRMED | ||
SUMMARY:TEST_REPEATING_EVENT_3 | ||
TRANSP:OPAQUE | ||
END:VEVENT | ||
BEGIN:VEVENT | ||
DTSTART;TZID=Europe/Brussels:20210816T183000 | ||
DTEND;TZID=Europe/Brussels:20210816T184500 | ||
RRULE:FREQ=DAILY | ||
DTSTAMP:20210816T174418Z | ||
UID:pseudo7346893o7r8328zheh@google.com | ||
CREATED:20210816T161602Z | ||
DESCRIPTION:BEGIN:E_Test_Cal:ON | ||
LAST-MODIFIED:20210816T162009Z | ||
LOCATION: | ||
SEQUENCE:0 | ||
STATUS:CONFIRMED | ||
SUMMARY:TEST_REPEATING_EVENT_3 | ||
TRANSP:OPAQUE | ||
END:VEVENT | ||
END:VCALENDAR |