Closed Bug 890565 Opened 11 years ago Closed 2 years ago

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

Categories

(Calendar :: ICAL.js Integration, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1789362

People

(Reporter: Taraman, Unassigned)

References

Details

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.
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

This sounds very much like a duplicate of bug 1789362. Do you agree?

Flags: needinfo?(geoff)

I do.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(geoff)
Resolution: --- → DUPLICATE
No longer depends on: 1266797
You need to log in before you can comment on or make changes to this bug.