From 3f10a031a5e85fd5e3f878e5b4978280bb5034e0 Mon Sep 17 00:00:00 2001 From: David Requeno Date: Sun, 21 Dec 2025 21:53:02 -0600 Subject: [PATCH] Bugfix: Localize month names in FIRE calculator This fix localizes the retirement date display in the FIRE calculator using date-fns with the provided locale input, instead of relying on Angular DatePipe which depends on LOCALE_ID. Fixes #6070 --- .../fire-calculator.component.html | 4 +--- .../fire-calculator.component.ts | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) 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 4f9ac456c..514325787 100644 --- a/libs/ui/src/lib/fire-calculator/fire-calculator.component.html +++ b/libs/ui/src/lib/fire-calculator/fire-calculator.component.html @@ -31,9 +31,7 @@ Retirement Date
- {{ - calculatorForm.get('retirementDate')?.value | date: 'MMMM yyyy' - }} + {{ getFormattedRetirementDate() }}