nextcloud / nextcloud/calendar
Calendar app ignores exception to recurrence if value is `DATE` instead of `DATE-TIME`.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
The iCalendar format has an EXDATE property to store the exception to event recurrence. According to RFC5545, 3.8.5.1, this property can have either a DATE or a DATE-TIME as its value. Nextcloud Calendar respects the exception if the value is a DATE-TIME, but ignores it if the value is DATE.
Steps to reproduce
- Create a calendar entry with recurrence.
- Delete one recurrence in Nextcloud Calendar (thereby creating an
EXDATEentry with aDATE-TIMEvalue). - Add another
EXDATEexception via CalDAV, with aDATEvalue. - Verify that the iCalendar has two
EXDATEproperties similar to:EXDATE;TZID=timezone:2021mmddThhmmss EXDATE;VALUE=DATE:2021mmdd
Expected behaviour
For both exceptions, no event should be displayed in Nextcloud Calendar.
Actual behaviour
No event is displayed in Nextcloud Calendar for the DATE-TIME exception. However, the DATE exception is ignored.
Calendar app
Calendar app version: 2.3.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a recurring event containing both DATE-TIME and DATE EXDATE values, using the RFC5545 section cited in the report as the format reference. Trace how the Calendar app parses and displays recurrence exceptions. Done means both exceptions prevent their corresponding event occurrences from being displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100