{"action":"created","issue":{"url":"https://api.github.com/repos/icalendar/icalendar/issues/168","repository_url":"https://api.github.com/repos/icalendar/icalendar","labels_url":"https://api.github.com/repos/icalendar/icalendar/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/icalendar/icalendar/issues/168/comments","events_url":"https://api.github.com/repos/icalendar/icalendar/issues/168/events","html_url":"https://github.com/icalendar/icalendar/issues/168","id":180170031,"node_id":"MDU6SXNzdWUxODAxNzAwMzE=","number":168,"title":"Recurring events not properly excluding deleted instances","user":{"login":"extrajordanary","id":4017420,"node_id":"MDQ6VXNlcjQwMTc0MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/4017420?v=4","gravatar_id":"","url":"https://api.github.com/users/extrajordanary","html_url":"https://github.com/extrajordanary","followers_url":"https://api.github.com/users/extrajordanary/followers","following_url":"https://api.github.com/users/extrajordanary/following{/other_user}","gists_url":"https://api.github.com/users/extrajordanary/gists{/gist_id}","starred_url":"https://api.github.com/users/extrajordanary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extrajordanary/subscriptions","organizations_url":"https://api.github.com/users/extrajordanary/orgs","repos_url":"https://api.github.com/users/extrajordanary/repos","events_url":"https://api.github.com/users/extrajordanary/events{/privacy}","received_events_url":"https://api.github.com/users/extrajordanary/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-29T21:39:04Z","updated_at":"2018-09-06T16:26:27Z","closed_at":"2018-09-06T16:26:27Z","author_association":"NONE","body":"Example:\nSay I have an event \"Do a Thing\", set to recur every Wed from Oct 5, 2016 until Dec 30, 2016\nThen I delete just the very first instance that was on Oct 5 (through google calendar UI).\n\nBut the way that the deleted instances seem to work is that they don't add their date info to the EXDATE, so based on the recurrence rules, when I access `all_occurrences` I still get one for Oct 5th bc that's still listed as the recurring event's start date. Affects any events between the original start and end dates as far as I can tell. \n\nI haven't had much time yet to dive into the Google Calendar API more yet myself to see if I can work up a possible solution, but seems like it will require actually pulling the instances and checking their statuses instead of just relying on the recurrence rules (and then locally we were comparing to exclude those in the EXDATE).\n"},"comment":{"url":"https://api.github.com/repos/icalendar/icalendar/issues/comments/419157347","html_url":"https://github.com/icalendar/icalendar/issues/168#issuecomment-419157347","issue_url":"https://api.github.com/repos/icalendar/icalendar/issues/168","id":419157347,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTE1NzM0Nw==","user":{"login":"rahearn","id":285842,"node_id":"MDQ6VXNlcjI4NTg0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/285842?v=4","gravatar_id":"","url":"https://api.github.com/users/rahearn","html_url":"https://github.com/rahearn","followers_url":"https://api.github.com/users/rahearn/followers","following_url":"https://api.github.com/users/rahearn/following{/other_user}","gists_url":"https://api.github.com/users/rahearn/gists{/gist_id}","starred_url":"https://api.github.com/users/rahearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahearn/subscriptions","organizations_url":"https://api.github.com/users/rahearn/orgs","repos_url":"https://api.github.com/users/rahearn/repos","events_url":"https://api.github.com/users/rahearn/events{/privacy}","received_events_url":"https://api.github.com/users/rahearn/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T16:26:27Z","updated_at":"2018-09-06T16:26:27Z","author_association":"NONE","body":"@stewartjohnson Check out https://github.com/icalendar/icalendar-recurrence for a possible solution to occurrence expansion.\r\n\r\nClosing this issue as it doesn't seem to relate to the icalendar gem."}}
{"actor":{"display_login":"rahearn"}}