The scheduleview ical importer throws date parse exception for appointment exported from google calendar.
It happens for recurring all day appointments with set end date like the example below.
Telerik.Windows.Controls.ScheduleView.ICalendar.DateParser.ParseUTC
throws exception: String was not recognized as a valid DateTime. for string "20111116"
It expects something of this format: "yyyyMMdd\\THHmmss\\Z"
The export from google calendar that caused this:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME: Calendar
X-WR-TIMEZONE:Europe/London
X-WR-CALDESC:
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;VALUE=DATE:20111116
DTEND;VALUE=DATE:20111117
RRULE:FREQ=WEEKLY;UNTIL=20111228;BYDAY=WE
DTSTAMP:20111111T024024Z
UID:vkvu1k17or5kdshf08hft85dnk@google.com
CREATED:20111111T023953Z
DESCRIPTION:
LAST-MODIFIED:20111111T023953Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:TestRecurring
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
It happens for recurring all day appointments with set end date like the example below.
Telerik.Windows.Controls.ScheduleView.ICalendar.DateParser.ParseUTC
throws exception: String was not recognized as a valid DateTime. for string "20111116"
It expects something of this format: "yyyyMMdd\\THHmmss\\Z"
The export from google calendar that caused this:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME: Calendar
X-WR-TIMEZONE:Europe/London
X-WR-CALDESC:
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;VALUE=DATE:20111116
DTEND;VALUE=DATE:20111117
RRULE:FREQ=WEEKLY;UNTIL=20111228;BYDAY=WE
DTSTAMP:20111111T024024Z
UID:vkvu1k17or5kdshf08hft85dnk@google.com
CREATED:20111111T023953Z
DESCRIPTION:
LAST-MODIFIED:20111111T023953Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:TestRecurring
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR