Closed (fixed)
Project:
Calendar
Version:
6.x-2.x-dev
Component:
iCal export
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2009 at 02:26 UTC
Updated:
7 Feb 2011 at 14:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
karens commentedThe problem is that the correct way to export repeating dates is to export the start date with the RRULE. If you leave off the RRULE, you will only have the starting date. So that won't work right at all.
It seems odd that Google can't accept an RRULE, but if not we have to do more than remove the RRULE line, we have to compute all the dates that the rule would have created and export them.
So maybe we need two different iCal exports, with and without the RRULE, or a setting on the iCal view where you decide which you want.
But first we need to confirm that Google and Apple iCal can't accept RRULES, which I find hard to imagine.
Comment #2
FoolsRun commentedIt's not that it can't accept RRULES, it's that the RRULES as currently exported read like this:
RRULE;RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20111224T045900Z;WKST=SUWith "RRULE;RRULE:" at the beginning of the line. Removing the first part with the semicolon, "RRULE;", leaving
RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20111224T045900Z;WKST=SUfixes it.
Comment #3
karens commentedAh!!! I missed that. Well that is definitely a bug.
Comment #4
bwynants commentedYeay, this in combination with http://drupal.org/node/389334#comment-1997292 seems to work fine for me....
Comment #5
bwynants commentedpatch at http://drupal.org/node/389334#comment-2011452
Comment #6
mpotter commentedCan we get this fix rolled into the Calendar module please? The link to the other patches and comments seem to address other issues. I was able to fix this problem with RRULE not parsing with Google Calendar with the very simple change of removing the RRULE; at the beginning of the line in the calendar-view-ical.tpl.php file.
The original poster is correct. Line 42 in calendar-view-ical.tpl.php just needs to be changed from this:
RRULE;
print($event['rrule'] . "\n")to this:
print($event['rrule'] . "\n")That fixed my problem with importing to Google Calendar. This simple problem still exists in the 6.x-2.x-dev version over 18 months since this original post.
Comment #7
glennpratt commentedTested #6 and rolled a patch.
Comment #8
karens commentedThis fix was incorporated into another patch that was already applied.
Comment #10
Caseinpoint commentedSubscribed