Skip to content

More than one EXDATE #57

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

Closed
mykhailo-riabokon opened this issue Apr 11, 2016 · 0 comments
Closed

More than one EXDATE #57

mykhailo-riabokon opened this issue Apr 11, 2016 · 0 comments

Comments

@mykhailo-riabokon
Copy link

Hello,

Firstly, thank you for this package, it's really helpful. Could you help me and explain, is it possible to receive information about excluded events? For example, I added into my Google calendar series of events which repeated every week. And in case if delete more than one event from series, I will not get this information in response, only last excluded will be shown.

Actual result

"exdate": {
    "params": [
        "VALUE=DATE"
    ],
    "val": "20160421"
},

But I expected something like this

"exdate": [
  {
      "params": [
          "VALUE=DATE"
      ],
      "val": "20160526"
  },
  {
      "params": [
          "VALUE=DATE"
      ],
      "val": "20160512"
  },
  {
      "params": [
          "VALUE=DATE"
      ],
      "val": "20160421"
  }
],

So, is it an issue? Or Am I doing something wrong?

Thank you in advance.

mbalfour added a commit to mbalfour/ical.js that referenced this issue Jul 16, 2016
Added better support for Recurrence Rules:
- Updates to specific recurrences of events now get their own entries in
a recurrences[] array, keyed by ISO date/time.  (Previously, their
records silently overwrote the main recurrence event)
- Exceptions to recurrences now appear in an exdate[] array, keyed by
ISO date/time.

Also added "knowledge" of the dtstamp, created, and lastmodified fields
so that they get stored as dates, not strings.

This should solve issues peterbraden#57 and peterbraden#63.
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

No branches or pull requests

1 participant