I'm trying to import a calendar event from an ics file into iCal/Calendar:
Event details
- SUMMARY:Class: ACCT 1001 1 Lecture(1829)
- Start date and time: 30/08/2012 and 3.00 PM
- End date: 12/12/2012 and 3.50 PM
- MO,WE,FR only these days need to set in the date range(doesn't need to set all day).
ics file
BEGIN:VCALENDAR
PRODID:-//bashmoblie v0.1//NONSGML iCal Writer//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20120830T150000
RRULE:FREQ=WEEKLY;UNTIL=20121212T155000;WKST=SU;BYDAY=MO,WE,FR
DTSTAMP:20091130T213238Z
UID:1285935469767a7c7c1a9b3f0df8003a@yoursever.com
CREATED:20091130T213238Z
SUMMARY:Class: ACCT 1001 1 Lecture(1829)
LAST-MODIFIED:20091130T213238Z
EQUENCE:0
STATUS:CONFIRMED
SUMMARY:Class: ACCT 1001 1 Lecture(1829)
LOCATION:Title: Introduction to Accounting(Lecture)
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
Problem
The problem with this is doesn't correctly import the end time (gets set to 3PM in iCal). How can I fix this?
Best Answer
There is no end time for the entry so you need to add this into the file.
The ICS specification also states
so your RRULE line should read: