Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filtering cancelled events in recurrent events #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Serzh470
Copy link

Cancelled events in recurrent events displayed as object in google api response:

  {
   "kind": "calendar#event",
   "etag": "\"316514750266000\"",
   "id": "cdj68cj6cgs4b9mckq62b9k6hh64b9pc8r38b9k6ee9l6ti3gc1jck_20200517T070000Z",
   "status": "cancelled",
   "recurringEventId": "cdj68cj6cgsj4b9mckq62b9k6hh64b9pc8r38b9k6ee9l6ti3gc1jck",
   "originalStartTime": {
    "dateTime": "2020-05-17T10:00:00+03:00"
   }
  }

So in current version they are filtered from api response and cancelled event in recurrent queue still shown.

Modification:

  • filtering cancelled events in separate array
  • check, if each new recurrent event is cancelled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant