I tried to eliminate all date-only values by giving all date/time values a time not 00:00:00 but DAVDroid still crashes with this java-exception.
What exactly did you do? In your iCalendar, there is this line:
- It says that
COMPLETED is of type
DATE, but when you look at the value
20150607T220000Z, it’s a
- COMPLETED must be of type
DATE-TIME, so the correct line would be:
The time may of course be 00:00:00, too.
Could you please post your current iCalendar? If it’s correctly formatted, DAVdroid should be able to parse it.
Could you please put some code to cope this problem into your next version?
I will consider working around invalid data as much as possible, but DAVdroid uses ical4j for iCalendar parsing, so it depends on this library.
I agree that DAVdroid should be more resilient against such errors, but nevertheless the error is in the iCalendar files and they should be fixed to get it working.