locale data angular 12

Solutions on MaxInterview for locale data angular 12 by the best coders in the world

showing results for - "locale data angular 12"
Clint
17 May 2016
1...
2import { NgModule, LOCALE_ID } from '@angular/core';
3import { registerLocaleData } from '@angular/common';
4import localeFr from '@angular/common/locales/fr';
5registerLocaleData(localeFr);
6
7
8@NgModule({
9  imports: [...],
10  declarations: [...],
11  bootstrap: [...],
12  providers: [
13    { provide: LOCALE_ID, useValue: 'fr-FR'},
14  ]
15})
16export class AppModule {}
17