-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recuring events get not created #6
Comments
Apologies for somehow not seeing this issue until now :| Is this still a problem for you? If so, please let me know and I'll see what I can do. I don't think the script gives any consideration to recurring events, but it may not be too difficult to implement... |
Having looked a bit, it seems that (It would be much nicer if the event could be synced to Google Calendar as a recurring event, though, so you'd see it as recurring and be able to edit/delete all instances of it, rather than a bunch of dumb events - that's one for future wishing though.) Do you have a full iCal feed that exhibits this problem (i.e. including the BEGIN:VCALENDAR and everything else)? |
Ah. I see what's going on. Unfortunately iCal::Parser doesn't make the recurrence info visible. I can hack around it by looking for multiple events with the same ID, and treating them as one multi-day event if the start date of each event is one day later than the end date of the previous, and recurring if not - but that would fail for daily recurring events, and is messy anyway. Alternatively I could just not care about recurrence beyond making sure that the "exploded" events get added to the Google Calendar - so they won't be linked as a recurring series, but would at least be there; that'd be a bit ugly though. A better fix, probably, is to find another iCal-parsing module which would let me know it's a recurring event. |
Issue #10 will solve this. |
this example:
BEGIN:VEVENT
UID:5066@domain.com
ORGANIZER;CN="Max Mustermann":MAILTO:m.mustermann@domain.de
ATTENDEE;CN="Jeder";RSVP=FALSE;PARTSTAT=ACCEPTED;ROLE=REQ-PARTICIPANT:MAILTO:info@topackt.de
RRULE:FREQ=WEEKLY;INTERVAL=1
SUMMARY;CHARSET=UTF-8:Teamsitzung (Serientermin)
DESCRIPTION;CHARSET=UTF-8:
LOCATION;CHARSET=UTF-8:A Place,
a street 2,
plz Town
CLASS:PUBLIC
CATEGORIES;CHARSET=UTF-8:Intern
DTSTART;TZID=Europe/Berlin:20130902T090000
DTEND;TZID=Europe/Berlin:20130902T103000
END:VEVENT
The text was updated successfully, but these errors were encountered: