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

[Feature Request] - Date Ranges Overlap #1537

Open
NaturalDevCR opened this issue Jun 17, 2021 · 4 comments
Open

[Feature Request] - Date Ranges Overlap #1537

NaturalDevCR opened this issue Jun 17, 2021 · 4 comments

Comments

@NaturalDevCR
Copy link

It would be really useful if we could compare 2 date ranges against each other to know if there is an overlap, just as in the "isBetween" it would be good to have delimiters so we can limit end dates, or start dates, this could possibly be an update for that IsBetween plugin.

As an example you can take a look on this package (that is for moment.js):

https://github.com/rotaready/moment-range#overlaps

@binvb
Copy link

binvb commented Jul 14, 2021

+1

@alex-w0
Copy link

alex-w0 commented Sep 6, 2021

@iamkun Any plans to merge the pr?

@AlexGalays
Copy link

Needed this just now! This is quite a bit more useful than things like isSameOrBefore one liners :trollface:

@katerlouis
Copy link

Also wondering if the pr is being merged :)

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

5 participants