]> git.basschouten.com Git - openhab-addons.git/commit
[icalendar] Fixed issues with moved events and wrong displayed events (#9678)
authorMichael Wodniok <michi@noorganization.org>
Mon, 4 Jan 2021 09:53:25 +0000 (10:53 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 09:53:25 +0000 (10:53 +0100)
commit91dc80449bdcbacab9d5072afb8b028bb4c37284
treee0120315df3388515e687fd1ed2c7ce7269e827b
parenta63acf000e944a98a501a85bab7f95c269e87674
[icalendar] Fixed issues with moved events and wrong displayed events (#9678)

* [icalendar] Fixed issues with moved events and wrong displayed events
* [icalendar] Changed test to use local time in test-calendar of #9647

Fixes #9647.

Handling for RFC 5545's RECURRENCE-ID field inside of
events and rounded begin (and based on it end) down in subsecond
precision.

The calendar does not define a timezone. On a machine that uses a
different timezone than Europe/Berlin the test failed. As the behavior
itself is specified, the test was changed to use local time for its
dates.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
bundles/org.openhab.binding.icalendar/src/main/java/org/openhab/binding/icalendar/internal/handler/EventFilterHandler.java
bundles/org.openhab.binding.icalendar/src/main/java/org/openhab/binding/icalendar/internal/logic/BiweeklyPresentableCalendar.java
bundles/org.openhab.binding.icalendar/src/test/java/org/openhab/binding/icalendar/internal/logic/BiweeklyPresentableCalendarTest.java
bundles/org.openhab.binding.icalendar/src/test/resources/test-issue9647.ics [new file with mode: 0644]