From 152cda19cfebb4255fdaf2c7b260defbebdde406 Mon Sep 17 00:00:00 2001 From: David Requeno <108202767+DavidReque@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:36:07 -0600 Subject: [PATCH] Bugfix/localize date formatting in FIRE calculator (#6077) * Localize date formatting * Update changelog --- CHANGELOG.md | 4 ++++ apps/client/src/main.ts | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5097993c3..10ea7e15b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed the deprecated _Angular CLI_ decorator (`decorate-angular-cli.js`) - Refreshed the cryptocurrencies list +### Fixed + +- Localized date formatting across the _FIRE_ section + ## 2.223.0 - 2025-12-14 ### Added diff --git a/apps/client/src/main.ts b/apps/client/src/main.ts index 2a22b7b7b..9717ac7ab 100644 --- a/apps/client/src/main.ts +++ b/apps/client/src/main.ts @@ -1,4 +1,3 @@ -import { locale } from '@ghostfolio/common/config'; import { InfoResponse } from '@ghostfolio/common/interfaces'; import { filterGlobalPermissions } from '@ghostfolio/common/permissions'; import { GfNotificationModule } from '@ghostfolio/ui/notifications'; @@ -91,7 +90,7 @@ import { environment } from './environments/environment'; }, { provide: LOCALE_ID, - useValue: locale + useValue: $localize.locale }, { provide: MAT_DATE_FORMATS,