-
Notifications
You must be signed in to change notification settings - Fork 11
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
bug has been identified. #3
Comments
Hi @lukshap , you are right, I've been able to reproduce this error and it affects the busdaycount method too:
The issue results from a combination of the facts that
If the following day of Anyway, as
This should fix the issue for the Kind regards |
Hi!
Could you please check why the code below calculates with error:
import business-calendar
cal = Calendar()
date1=datetime.datetime(2017, 1, 20, 14, 43, 45)
date2=datetime.datetime(2017, 1, 28, 14, 40, 45)
print cal.workdaycount(date1, date2)
>>> 0
The text was updated successfully, but these errors were encountered: