URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13206>
Summary: RRULE line assembled incorrectly
Project: phpGroupWare
Submitted by: jvilhuber
Submitted on: Fri 05/27/2005 at 04:24
Item Group: 0.9.16.005
Category: calendar
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: BZIP2
Platform Version: GNU/Linux - SuSE
Reproducibility: Every Time
Planned Release: None
Fixed Release:
_______________________________________________________
Details:
I'm not sure if the rfc says anything useful about for the format of the
RRULE line, but iCal (Mac OS X 10.3.9) will not accept the ones assembled by
phpgroupware. It assembles them in alphabetical order as follows:
RRULE:BYDAY=MO,TU,WE,TH,FR;FREQ=WEEKLY
But as far as I can tell, iCal requires the FREQ to come first, as such:
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
I'm not 100% sure about the INTERVAL part of this line, as I can't get
phpgroupware to output it. It appears in the debugs, but never in the output.
I'll make that a separate bug report, however.
To solve this, I moved the freq and interval section in the array
parameter in the function boicalendar() to the top. As long as it's before
any of the 'by..' recur-types, it should be fine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13206>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Phpgroupware-tracker mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-tracker