All users were logged out of Bugzilla on October 13th, 2018

Recurring Events on last day of month show up one month early

NEW
Unassigned

Status

--
major
5 years ago
2 years ago

People

(Reporter: Taraman, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Dependency tree / graph

Details

(Reporter)

Description

5 years ago
steps to reproduce:
1. select icaljs as your backend
2. create an event and click on "custom" in the Repeat-dropdown
3. select "monthly" and select "last day of the month"
4. on "every X months" select a value of 2
4. close the dialogs with OK

result:
- the next occurrence shows up in next month, thereafter every 2 months

expected result:
- event occurs every two months.

Comment 1

2 years ago
Steps to reproduce generate a recurring event with a rule:
RRULE:FREQ=MONTHLY;BYMONTHDAY=-1;INTERVAL=2
so this issue and bug 386516 for libical should be the same.

The problem seems the negative bymonthday not properly treated. 
The tests for bug 1266797 show that the patch fixes this bug too.
See also the pull request on GitHub with test:
 https://github.com/mozilla-comm/ical.js/pull/232.
Depends on: 1266797
You need to log in before you can comment on or make changes to this bug.