Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Limit Date difference between to dates #26

Open
alexpahomi opened this issue May 5, 2017 · 0 comments
Open

Limit Date difference between to dates #26

alexpahomi opened this issue May 5, 2017 · 0 comments

Comments

@alexpahomi
Copy link

Is there any option to limit the difference between to dates? For example I want something that checks if
end.diff(start, 'days') > 365
Then reset the startDate or endDate so the difference will be equal with desired interval.

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

No branches or pull requests

1 participant