WEB-693: Implement Date and Datetime Global Variables (#3123)

Signed-off-by: DeathGun44 <krishnamewara841@gmail.com>
This commit is contained in:
Krishna Mewara
2026-02-15 15:35:42 -06:00
committed by GitHub
parent f60057ae0a
commit 2317e5009c
25 changed files with 290 additions and 50 deletions
-3
View File
@@ -223,9 +223,6 @@ export class WebAppComponent implements OnInit, OnDestroy {
if (!localStorage.getItem('mifosXLanguage')) {
this.settingsService.setDefaultLanguage();
}
if (!localStorage.getItem('mifosXDateFormat')) {
this.settingsService.setDateFormat('dd MMMM yyyy');
}
// Set default max date picker as Today
this.settingsService.setBusinessDate(this.dateUtils.formatDate(new Date(), SettingsService.businessDateFormat));
// Set the server list from the env var FINERACT_API_URLS, but avoid overwriting "Add new server" user choice