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

EXDATE #57

Open
AntoineHo6 opened this issue Jun 18, 2023 · 3 comments
Open

EXDATE #57

AntoineHo6 opened this issue Jun 18, 2023 · 3 comments
Labels
T: Feature Type: New Features

Comments

@AntoineHo6
Copy link

Is it possible to add EXDATE to the recurrence rules please?

@PisaIlogs
Copy link

It would really be awesome if EXDATE was supported by this library.

@jonasbadstuebner
Copy link
Contributor

EXDATE is not part of RRULE. It is its own property of an event.

It would be an invalid RRULE string if you would just drop it in there. Rather you could implement it like this:

instances.where(
  (instance) => !exdates.contains(instance),
)

The way I see it, this package should really only focus on RRULEs and not stray from it.

@JonasWanke
Copy link
Owner

Pretty much what DrBu7cher wrote: It doesn't belong inside RecurrenceRule and you can use the short workaround. However, they will be supported in the separate RecurrenceSet class (#1), though I have no estimate for when I'll have time to work on that

@JonasWanke JonasWanke added the T: Feature Type: New Features label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Feature Type: New Features
Projects
None yet
Development

No branches or pull requests

4 participants