cal
cal copied to clipboard
Fix work time check issue when startHour and endHour are the same
Why
- When the
startHourandendHourthe same,IsWorkTimereturns incorrectly
What
- Use time.Duration to check if the working time (time of date) is in the range or not.
Can you please reapply your changes on top of PR #119 that was just merged?
Can you please reapply your changes on top of PR #119 that was just merged?
Sure, done, please check it out. Thanks for your work, again!
Can you fix the failing tests please?