Ical import throws date parse exception

2 posts, 0 answers
  1. Tina
    Tina avatar
    17 posts
    Member since:
    May 2011

    Posted 10 Nov 2011 Link to this post

    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
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 16 Nov 2011 Link to this post

    Hi Tina,

    Thank you for reporting this issue, I've logged it and it will be fixed most probably for the next service pack.
    You can track its progress in our public issue tracking system here.

    As a token of gratitude for your involvement, I've updated your points.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top