Created
September 27, 2017 01:27
-
-
Save anhnguyen1618/a8e06a1976b85b9fbb802957e975e185 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { LOCALE_ID, NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| import { DateInputsModule } from '@progress/kendo-angular-dateinputs'; | |
| import { AppComponent } from './app.component'; | |
| /* Loading CLDR data */ | |
| // import { load } from '@progress/kendo-angular-intl'; | |
| import { load, IntlModule } from '@progress/kendo-angular-intl'; | |
| import * as likelySubtags from 'cldr-data/supplemental/likelySubtags.json'; | |
| import * as weekData from 'cldr-data/supplemental/weekData.json'; | |
| import * as currencyData from 'cldr-data/supplemental/currencyData.json'; | |
| import * as numbers from 'cldr-data/main/fi/numbers.json'; | |
| import * as timeZoneNames from 'cldr-data/main/fi/timeZoneNames.json'; | |
| import * as calendar from 'cldr-data/main/fi/ca-gregorian.json'; | |
| import * as currencies from 'cldr-data/main/fi/currencies.json'; | |
| import * as dateFields from 'cldr-data/main/fi/dateFields.json'; | |
| load( | |
| likelySubtags, | |
| weekData, | |
| currencyData, | |
| numbers, | |
| currencies, | |
| calendar, | |
| dateFields, | |
| timeZoneNames | |
| ); | |
| @NgModule({ | |
| bootstrap: [ AppComponent ], | |
| declarations: [ AppComponent ], | |
| imports: [ BrowserModule, BrowserAnimationsModule, DateInputsModule ], | |
| providers: [{ provide: LOCALE_ID, useValue: 'fi' }] | |
| }) | |
| export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment