phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #13206] RRULE line assembled incorrectly


From: Jan Vilhuber
Subject: [Phpgroupware-tracker] [bug #13206] RRULE line assembled incorrectly
Date: Fri, 27 May 2005 04:24:17 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050427 Camino/0.8.4

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]