Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/fix date format of retirement date in FIRE calculator (#5245)

Thomas Kaul58043def08c8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fb443e7930..d297464662 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
+- Fixed the date format of the retirement date in the _FIRE_ calculator
- Fixed an issue with the permissions of the impersonation mode related to the onboarding on the overview tab of the home page
- Fixed an issue with the permissions of the impersonation mode related to the manage activities button of the holdings tab on the home page
diff --git a/libs/ui/src/lib/fire-calculator/fire-calculator.component.html b/libs/ui/src/lib/fire-calculator/fire-calculator.component.html
index 31c7b334d5..60d5204e15 100644
--- a/libs/ui/src/lib/fire-calculator/fire-calculator.component.html
+++ b/libs/ui/src/lib/fire-calculator/fire-calculator.component.html
@@ -31,7 +31,9 @@
<mat-form-field appearance="outline" class="w-100">
<mat-label i18n>Retirement Date</mat-label>
<div>
- {{ calculatorForm.get('retirementDate').value | date: 'MMMM YYYY' }}
+ {{
+ calculatorForm.get('retirementDate')?.value | date: 'MMMM yyyy'
+ }}
</div>
<input
class="d-none"