diff --git a/client/src/app/app.config.ts b/client/src/app/app.config.ts index cb1270e..fee4921 100644 --- a/client/src/app/app.config.ts +++ b/client/src/app/app.config.ts @@ -1,11 +1,14 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'; +import { ApplicationConfig, DEFAULT_CURRENCY_CODE, provideBrowserGlobalErrorListeners } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; +import { DATE_PIPE_DEFAULT_OPTIONS } from '@angular/common'; export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), - provideRouter(routes) + provideRouter(routes), + {provide: DEFAULT_CURRENCY_CODE, useValue: ''}, + {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}, ] }; diff --git a/client/src/app/screens/screen-profile/screen-profile.html b/client/src/app/screens/screen-profile/screen-profile.html index 7f26032..7b99d45 100644 --- a/client/src/app/screens/screen-profile/screen-profile.html +++ b/client/src/app/screens/screen-profile/screen-profile.html @@ -7,7 +7,10 @@
{{ userID }}
- +