-
Notifications
You must be signed in to change notification settings - Fork 215
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
potential bug in business_days.after #83
Comments
in businessdays_after, instead of:
this seems to work:
in other words, if time zone is not set, then don't try to parse it. I'm just starting out with Ruby, so I might be wrong :) |
Its going to be a few days before I can fully appreciate this and release it, but it certainly seems like your line is the right thing to do. I'll hopefully incorporate and release soon. thanks! |
Is this going to be merged soon? |
@bokmann any update? |
I just tested your code against the latest gem and it no longer fails. The expected 2 days apart seems to work. |
…Ensure we wind to beginning of business day when using business_hours before/after methods
please consider following code:
result:
expected the computed days to be 2 days apart.
The text was updated successfully, but these errors were encountered: