Skip to content

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

Bugfix/localize date formatting in FIRE calculator (#6077)

David Requeno152cda19cfeb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5097993c34..10ea7e15b0 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 2a22b7b7b7..9717ac7ab5 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,