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

Fixing biweekly realign when used with spans option. #377

Merged
merged 1 commit into from
Feb 24, 2017

Conversation

jopotts
Copy link
Contributor

@jopotts jopotts commented Feb 23, 2017

This PR fixes an edge case bug for the use of the spans option when the biweekly realign method comes into effect. The realign method was being called with the opening time with the duration shift, whereas it should always be using the pure opening time.

Thanks for all the work you've been doing on the gem recently! It's not gone unnoticed.

The realign method should be working from the pure opening time without the duration shift used for the spans option.
@seejohnrun
Copy link
Collaborator

Thanks @jopotts and thank you for the note :)

@seejohnrun seejohnrun merged commit da878a8 into ice-cube-ruby:master Feb 24, 2017
jopotts added a commit to bookwhen/ice_cube that referenced this pull request May 5, 2017
@jopotts jopotts mentioned this pull request May 5, 2017
avit pushed a commit to avit/ice_cube that referenced this pull request Jun 29, 2017
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