-
Notifications
You must be signed in to change notification settings - Fork 135
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
method to check if a date is inside a RRULE? #158
Comments
No. You would need to loop through the recurrence collection and compare each element to your date. |
Thanks Shaun! p.s: do tell if this is something you'd like to add to library / etc as I can contribute |
You could achieve this using transform() by filtering for occurrences happening between day start and end.
|
I also want its solution. I am trying to check/match a specific date inside the recurrence series using JavaScript. Someone posted some solution on StackOverflow, but it's not working:
|
I have fixed this issue. I was passing a date like this: |
Hi!
Is there a method to check if a date/datetime is inside a defined rule? (e.g. returns true/false if datetime is in it)
Thanks!
p.s sorry if I totally missed in - scanned the docs + code but wasn't clear how to do that. Thank you!
The text was updated successfully, but these errors were encountered: