Skip to content
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

fix end of workday critical bug #84

Merged
merged 3 commits into from
Jun 10, 2014
Merged

fix end of workday critical bug #84

merged 3 commits into from
Jun 10, 2014

Conversation

sbounmy
Copy link
Contributor

@sbounmy sbounmy commented May 16, 2014

Hi,

We noticed some weird behavior when computing business hours in our production app.
I found the culprit :

    BusinessTime::Config.end_of_workday

It was returning '23:59:59' when a end of day work hour is '20:00'...

I also added a fixed when computing business hours between ActiveSupport::TimeWithZone

Specs are green on ruby 2.1.1

bokmann added a commit that referenced this pull request Jun 10, 2014
@bokmann bokmann merged commit 666dd4a into bokmann:master Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants