{"action":"created","issue":{"url":"https://api.github.com/repos/pimutils/khal/issues/140","repository_url":"https://api.github.com/repos/pimutils/khal","labels_url":"https://api.github.com/repos/pimutils/khal/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/pimutils/khal/issues/140/comments","events_url":"https://api.github.com/repos/pimutils/khal/issues/140/events","html_url":"https://github.com/pimutils/khal/issues/140","id":51293482,"number":140,"title":"Offset-error","user":{"login":"nielsk","id":111362,"avatar_url":"https://avatars.githubusercontent.com/u/111362?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsk","html_url":"https://github.com/nielsk","followers_url":"https://api.github.com/users/nielsk/followers","following_url":"https://api.github.com/users/nielsk/following{/other_user}","gists_url":"https://api.github.com/users/nielsk/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsk/subscriptions","organizations_url":"https://api.github.com/users/nielsk/orgs","repos_url":"https://api.github.com/users/nielsk/repos","events_url":"https://api.github.com/users/nielsk/events{/privacy}","received_events_url":"https://api.github.com/users/nielsk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimutils/khal/labels/enhancement","name":"enhancement","color":"5319e7"},{"url":"https://api.github.com/repos/pimutils/khal/labels/upstream","name":"upstream","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2014-12-08T11:42:54Z","updated_at":"2016-03-29T08:54:06Z","closed_at":null,"body":"I am syncing calendars from iCloud and with loads of events I get the following error:\r\n\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/site-packages/khal/khalendar/khalendar.py\", line 189, in _update_vevent\r\n        ignore_invalid_items=True)\r\n      File \"/usr/lib/python2.7/site-packages/khal/khalendar/backend.py\", line 269, in update\r\n        ical = icalendar.Event.from_ical(vevent)\r\n      File \"/usr/lib/python2.7/site-packages/icalendar/cal.py\", line 350, in from_ical\r\n        vals = factory(factory.from_ical(vals))\r\n      File \"/usr/lib/python2.7/site-packages/icalendar/prop.py\", line 818, in from_ical\r\n        'Offset must be less than 24 hours, was %s' % ical)\r\n    ValueError: Offset must be less than 24 hours, was +5328\r\n    During `update_vevent` we failed to parse vcard work/someevent.ics with error\r\n    \"Offset must be less than 24 hours, was +5328\",\r\n    this means, that event is not available in khal.\r\n\r\n\r\nFor one: the event is not in work/something.ics but in home/something.ics which is strange.\r\nAnd then there is the content of the .ics which has an Offset of +5328 in one line:\r\n\r\n    BEGIN:VCALENDAR\r\n    VERSION:2.0\r\n    PRODID:-//Apple Inc.//Mac OS X 10.8.2//EN\r\n    CALSCALE:GREGORIAN\r\n    BEGIN:VTIMEZONE\r\n    TZID:Europe/Berlin\r\n    X-LIC-LOCATION:Europe/Berlin\r\n    BEGIN:STANDARD\r\n    DTSTART:18930401T000000\r\n    RDATE;VALUE=DATE-TIME:18930401T000000\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+5328\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19160430T230000\r\n    RDATE;VALUE=DATE-TIME:19160430T230000\r\n    RDATE;VALUE=DATE-TIME:19400401T020000\r\n    RDATE;VALUE=DATE-TIME:19430329T020000\r\n    RDATE;VALUE=DATE-TIME:19460414T020000\r\n    RDATE;VALUE=DATE-TIME:19470406T030000\r\n    RDATE;VALUE=DATE-TIME:19480418T020000\r\n    RDATE;VALUE=DATE-TIME:19490410T020000\r\n    RDATE;VALUE=DATE-TIME:19800406T020000\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0100\r\n    TZOFFSETTO:+0200\r\n    END:DAYLIGHT\r\n    BEGIN:STANDARD\r\n    DTSTART:19161001T010000\r\n    RDATE;VALUE=DATE-TIME:19161001T010000\r\n    RDATE;VALUE=DATE-TIME:19421102T030000\r\n    RDATE;VALUE=DATE-TIME:19431004T030000\r\n    RDATE;VALUE=DATE-TIME:19441002T030000\r\n    RDATE;VALUE=DATE-TIME:19451118T030000\r\n    RDATE;VALUE=DATE-TIME:19461007T030000\r\n    TZNAME:CET\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19170416T020000\r\n    RRULE:FREQ=YEARLY;UNTIL=19180415T010000Z;BYDAY=3MO;BYMONTH=4\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0100\r\n    TZOFFSETTO:+0200\r\n    END:DAYLIGHT\r\n    BEGIN:STANDARD\r\n    DTSTART:19170917T030000\r\n    RRULE:FREQ=YEARLY;UNTIL=19180916T010000Z;BYDAY=3MO;BYMONTH=9\r\n    TZNAME:CET\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19440403T020000\r\n    RRULE:FREQ=YEARLY;UNTIL=19450402T010000Z;BYDAY=1MO;BYMONTH=4\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0100\r\n    TZOFFSETTO:+0200\r\n    END:DAYLIGHT\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19450524T020000\r\n    RDATE;VALUE=DATE-TIME:19450524T020000\r\n    RDATE;VALUE=DATE-TIME:19470511T030000\r\n    TZNAME:CEMT\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0300\r\n    END:DAYLIGHT\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19450924T030000\r\n    RDATE;VALUE=DATE-TIME:19450924T030000\r\n    RDATE;VALUE=DATE-TIME:19470629T030000\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0300\r\n    TZOFFSETTO:+0200\r\n    END:DAYLIGHT\r\n    BEGIN:STANDARD\r\n    DTSTART:19460101T000000\r\n    RDATE;VALUE=DATE-TIME:19460101T000000\r\n    RDATE;VALUE=DATE-TIME:19800101T000000\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0100\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:STANDARD\r\n    DTSTART:19471005T030000\r\n    RRULE:FREQ=YEARLY;UNTIL=19491002T010000Z;BYDAY=1SU;BYMONTH=10\r\n    TZNAME:CET\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:STANDARD\r\n    DTSTART:19800928T030000\r\n    RRULE:FREQ=YEARLY;UNTIL=19950924T010000Z;BYDAY=-1SU;BYMONTH=9\r\n    TZNAME:CET\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    BEGIN:DAYLIGHT\r\n    DTSTART:19810329T020000\r\n    RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3\r\n    TZNAME:CEST\r\n    TZOFFSETFROM:+0100\r\n    TZOFFSETTO:+0200\r\n    END:DAYLIGHT\r\n    BEGIN:STANDARD\r\n    DTSTART:19961027T030000\r\n    RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10\r\n    TZNAME:CET\r\n    TZOFFSETFROM:+0200\r\n    TZOFFSETTO:+0100\r\n    END:STANDARD\r\n    END:VTIMEZONE\r\n    BEGIN:VEVENT\r\n    CREATED:20121120T195219Z\r\n    UID:90CBCF8D-DDC8-468D-B140-D2B41B1013E9\r\n    DTEND;TZID=Europe/Berlin:20121202T093000\r\n    SUMMARY:Some event\r\n    DTSTART;TZID=Europe/Berlin:20121202T080000\r\n    DTSTAMP:20121120T195239Z\r\n    SEQUENCE:6\r\n    TRANSP:OPAQUE\r\n    BEGIN:VALARM\r\n    X-WR-ALARMUID:9CBA1B83-B474-4B6A-8C39-83E55B1E0734\r\n    UID:9CBA1B83-B474-4B6A-8C39-83E55B1E0734\r\n    TRIGGER;VALUE=DATE-TIME:19760401T005545Z\r\n    X-APPLE-DEFAULT-ALARM:TRUE\r\n    ACTION:NONE\r\n    END:VALARM\r\n    END:VEVENT\r\n    END:VCALENDAR\r\n"},"comment":{"url":"https://api.github.com/repos/pimutils/khal/issues/comments/202784048","html_url":"https://github.com/pimutils/khal/issues/140#issuecomment-202784048","issue_url":"https://api.github.com/repos/pimutils/khal/issues/140","id":202784048,"user":{"login":"geier","id":275330,"avatar_url":"https://avatars.githubusercontent.com/u/275330?v=3","gravatar_id":"","url":"https://api.github.com/users/geier","html_url":"https://github.com/geier","followers_url":"https://api.github.com/users/geier/followers","following_url":"https://api.github.com/users/geier/following{/other_user}","gists_url":"https://api.github.com/users/geier/gists{/gist_id}","starred_url":"https://api.github.com/users/geier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geier/subscriptions","organizations_url":"https://api.github.com/users/geier/orgs","repos_url":"https://api.github.com/users/geier/repos","events_url":"https://api.github.com/users/geier/events{/privacy}","received_events_url":"https://api.github.com/users/geier/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T08:54:06Z","updated_at":"2016-03-29T08:54:06Z","body":"I got a note from \"Apple Developer Relations\":\r\n```\r\nWe believe this issue has been addressed through changes on our side.\r\n```"}}