bitfireAT / ical4android

Allows usage of iCalendar files with the Android calendar provider
GNU General Public License v3.0
19 stars 10 forks source link

Events with DTSTART (DATE-TIME) and EXDATE/RDATE (DATE) are not imported as expected #141

Closed rfc2822 closed 7 months ago

rfc2822 commented 7 months ago

When an event has a date-time DTSTART, but a date EXDATE like this one:

# generated by Evolution
DTSTART;TZID=Europe/Vienna:20240317T100000
RRULE:FREQ=WEEKLY;UNTIL=20240526T080000Z;BYDAY=SU
EXDATE;VALUE=DATE:20240331

it's currently imported to Android as EXDATE:20240331T000000Z and then erroneously shown in the calendar.

Regardless of whether such an EXDATE/RDATE is technically valid, DAVx5 should detect the type mismatch and set the correct type internally to behave like users would expect.