Open
Bug 450407
Opened 17 years ago
Updated 3 years ago
Missing rule parts (e.g,. BYMONTH) in RRULE are not properly derived from DTSTART
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
NEW
People
(Reporter: bernard.desruisseaux, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Lightning/0.9pre Thunderbird/2.0.0.16 (Build 2008081218)
Mozilla Lightning generates recurrence instances on the Monday preceding the 25th of *every month* while it should only generate recurrence instances in the month of May:
BEGIN:VCALENDAR
PRODID:Bernard
VERSION:2.0
BEGIN:VEVENT
UID:quebec-national-patriots-day-001
DTSTAMP:20080812T232154Z
SUMMARY:Quebec National Patriots Day
DTSTART;VALUE=DATE:20090518
RRULE:FREQ=YEARLY;BYDAY=MO;BYMONTHDAY=18,19,20,21,22,23,24
DESCRIPTION:The Monday preceding May 25th
URL:http://www.cnt.gouv.qc.ca/en/leaves-and-absences/statutory-holidays/index.html
END:VEVENT
END:VCALENDAR
BYMONTH=5 should have been derived from DTSTART as specified in RFC 2445:
http://tools.ietf.org/html/rfc2445#page-44
> Information, not contained in the rule, necessary to determine the
> various recurrence instance start time and dates are derived from the
> Start Time (DTSTART) entry attribute. For example,
> "FREQ=YEARLY;BYMONTH=1" doesn't specify a specific day within the
> month or a time. This information would be the same as what is
> specified for DTSTART.
For what is worth, Mozilla Lightning works properly when adding BYMONTH=5 to the RRULE.
Reproducible: Always
Steps to Reproduce:
1. Import VEVENT mentionned in the bug's details.
2. Notice there are recurrence instances displayed in June, July, and so forth.
Actual Results:
Recurrence instances displayed in June, July, and so forth.
Expected Results:
Recurrence instaces should only be displayed in the month of May of every year.
Comment 1•17 years ago
|
||
I think this needs fixing in libical, because it expands the RRULEs. We should first check whether trunk libical (which mvl has updated some time ago) has fixed this already.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 2•17 years ago
|
||
Just for reference: Importing the event in Google Calendar (via web, not from Sunbird/Lightning) shows the event every month too.
| Reporter | ||
Comment 3•17 years ago
|
||
Just for reference: Importing the event in Apple iCal 3.0.4 shows the event on May 18, 19, 20, 21, 22, 23, and 24 of every year. Different wrong behavior.
| Reporter | ||
Comment 4•17 years ago
|
||
Just for reference: Importing the event (with or without BYMONTH=5) fails in Outlook 2003.
| Reporter | ||
Comment 5•17 years ago
|
||
Additional information from rfc2445bis to clarify the expected result.
http://ietfreport.isoc.org/idref/draft-ietf-calsify-rfc2445bis/#page-44
> BYxxx rule parts for a period of time less than the frequency generally
> increase or expand the number of occurrences of the recurrence.
> For example, "FREQ=YEARLY;BYMONTH=1,2" increases the number of
> days within the yearly recurrence set from 1 (if BYMONTH rule part
> is not present) to 2.
http://ietfreport.isoc.org/idref/draft-ietf-calsify-rfc2445bis/#page-45
According to the table on this page the BYMONTH rule part would "Expand"
the recurrence set when FREQ=YEARLY.
| Reporter | ||
Comment 6•16 years ago
|
||
Just for reference: Evolution also has issues with such events
Bug 499180 - BYDAY and BYMONTHDAY combination show to many entries (Evolution)
http://bugzilla.gnome.org/show_bug.cgi?id=499180
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•