Closed ade-fatimah closed 4 years ago
Looks good, but would you mind adding some tests with fixed dates that prove how it should behave?
Looks good, but would you mind adding some tests with fixed dates that prove how it should behave?
Done.
I've fixed some the tests by moving them to the right place and by adding a check that they actually do what they're supposed to, let me know if that's correct!
https://github.com/kalmecak/moment-business-days/commit/af548cba8a384a11d67d2bc4575bb3bbf3e975ce
This PR adds a new method
businessWeeksBetween
that allows users get business weeks between two dates.