nextcloud / nextcloud/calendar

Calendar app ignores exception to recurrence if value is `DATE` instead of `DATE-TIME`.

Open
#3,673 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug hotspot: recurring events
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
  1. Create a calendar entry with recurrence.
  2. Delete one recurrence in Nextcloud Calendar (thereby creating an EXDATE entry with a DATE-TIME value).
  3. Add another EXDATE exception via CalDAV, with a DATE value.
  4. Verify that the iCalendar has two EXDATE properties 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.