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 bug of slider calc not showing same MPB as top calc on screen-2 #227

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

dmeegan
Copy link
Collaborator

@dmeegan dmeegan commented Sep 23, 2020

@thadk see the pull request to fix the bug where the calculation for MPB for the slider showing a different number than the top calculation for MPB.

The fix was to convert the desired retirement age to months, because the dayjs add() method does not support decimals. The date of retirement is now based on the month.

We were associating this with issue #215

@dmeegan dmeegan changed the base branch from piaFormat to develop September 23, 2020 03:14
Copy link
Member

@thadk thadk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

age * 12 is even cleaner than I would have done it — thanks! Nice sleuthing as well.

@thadk thadk merged commit 8dd56cc into codeforboston:develop Sep 23, 2020
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.

None yet

2 participants