-
Notifications
You must be signed in to change notification settings - Fork 23
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
in_hours? doesn't consider breaks #69
Comments
aserafin
changed the title
in_hours? doesn't consider breaks
Jun 8, 2016
in_hours?
doesn't consider breaks
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid periods generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid period generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid period generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid period generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid period generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
Good catch! No worries, I've opened a PR: #70. |
craiglittle
added a commit
that referenced
this issue
Jun 9, 2016
Since the calculation behind `in_hours?` is optimized to avoid period generation, we need to take extra steps to ensure it takes breaks into consideration. Closes #69.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
It looks like
in_hours?
implementation doesn't consider breaks. I think this change in the in thelib/biz/calculation/active.rb
will fix it:but before creating pull-request I want to make sure that this isn't somehow intentional?
The text was updated successfully, but these errors were encountered: