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

Critical enddate comparison operator fix #57

Conversation

el-seirh
Copy link
Contributor

@el-seirh el-seirh commented Jan 3, 2018

There was an issue in the TaxRate models getAmount-function. When matching the date against the end dates the > operator was used instead of >=.
This led to a behaviour where any date that exactly matched any periods end date would not return a tax rate.

@bojanz
Copy link
Contributor

bojanz commented Jan 3, 2018

That's still broken. Your local master is not up to date (git checkout master && git pull origin master)
Once you update master you can switch back to your PR branch and do a "git rebase master" to rewind.

@el-seirh el-seirh force-pushed the critical-enddate-comparison-operator-fix branch from 890e149 to de046dc Compare January 3, 2018 15:45
@el-seirh
Copy link
Contributor Author

el-seirh commented Jan 3, 2018

I'm gonna close this one again since I have been able to correctly sync my forks master but failed to correctly rewind my PR branch.

@el-seirh el-seirh closed this Jan 3, 2018
@el-seirh
Copy link
Contributor Author

el-seirh commented Jan 3, 2018

@bojanz I created a new PR #58.
Sorry for the inconvenience. II hope the latest PR is ok.

@el-seirh el-seirh deleted the critical-enddate-comparison-operator-fix branch January 3, 2018 15:57
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.

3 participants