View Single Post
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#15
Originally Posted by PMaff View Post
Is your tool capable of importing the diverse repeating events like pointed out in this thread:
http://talk.maemo.org/showthread.php?t=36161 ?

Thanks in advance.
All my tool does is call the calendar-backend api to import and export calendars.

I went ahead and created a test calendar with a repeating event that cannot be created via the calendar GUI. I then used my tool to import the calendar and it shows correctly.

This entry repeats every 10 days for 5 occurrences:
Code:
BEGIN:VCALENDAR
VERSION:1.0
PRODID://Nokia Corporation//Maemo5 Calendar PR1.2//EN
BEGIN:VEVENT
CREATED:20110217T023020Z
SUMMARY:Trash Day
DESCRIPTION:Take the damn trash out
UID:3
DTSTART:20110216T200000Z
DTEND:20110216T201500Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20110217T023020Z
RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20110921T200000Z
DURATION:PT1M
REPEAT:1
ACTION:AUDIO
END:VALARM
END:VEVENT
END:VCALENDAR
I suggest creating some valid .ics file in a tool of your choice and try to import it and see if it shows up right.

BTW. The details screen of the calendar just shows that it repeats every day (the FREQ= value). There may be frequncies that the calendar-gui make choke on. I don't know. Something to try out on your own.

Also, don't edit the event from the GUI or it will revert to repeating every day. The interval will get wiped out. It looks like we'd need a different program to make detailed edits outside of the default calendar GUI.

Last edited by jackburton; 2011-09-16 at 01:07. Reason: More information
 

The Following User Says Thank You to jackburton For This Useful Post: