Skip to content

Update Tfsa and Fhsa calculators to work in 2026#104

Merged
Taylor-DeVries merged 2 commits intomainfrom
update-tfsa-and-fhsa-calculators-to-work-in-2026
Jan 15, 2026
Merged

Update Tfsa and Fhsa calculators to work in 2026#104
Taylor-DeVries merged 2 commits intomainfrom
update-tfsa-and-fhsa-calculators-to-work-in-2026

Conversation

@Aiden25451
Copy link
Copy Markdown
Collaborator

Describe your changes

  • Had to change the static value 2025 to a function that gets the current year
  • Updated broken logic in fhsa to cap out at 16 000$ because I believe that is the max contribution for a single year
  • Updated the tfsa year 2026 increase of 7000$. Unfortunately, I am not sure how this could be automated to update every year without using a third-party API. And at that point, it would probably be worth it to just use an API for the entire calculator.

Jira story link

Story Link

Verification of changes

Screenshots/Links: Compared with the website examples I listed in comments on the files I changed. Pretty sure it's good, but not super familiar with TFSA/FHSA. Please check that the logic looks good.

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested my code with current main branch

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
finbud Ready Ready Preview, Comment Jan 15, 2026 8:29pm

@Aiden25451 Aiden25451 marked this pull request as ready for review January 15, 2026 20:30
@Taylor-DeVries Taylor-DeVries merged commit d7ac78c into main Jan 15, 2026
4 of 5 checks passed
@Aiden25451 Aiden25451 self-assigned this Jan 15, 2026
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