-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.module.ts
41 lines (37 loc) · 930 Bytes
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { registerLocaleData } from "@angular/common";
import localeEn from "@angular/common/locales/en";
import {
LOCALE_ID,
NgModule
} from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { MAT_DATE_LOCALE } from "@angular/material/core";
import { AppComponent } from "./app.component";
import { AppMomentModule } from "./moment/moment.module";
import { AppNativeModule } from "./native/native.module";
registerLocaleData(localeEn);
@NgModule({
providers: [
{
provide: LOCALE_ID,
useValue: "au-EN"
},
{
provide: MAT_DATE_LOCALE,
useExisting: LOCALE_ID
}
],
declarations: [
AppComponent
],
imports: [
BrowserAnimationsModule,
BrowserModule,
AppMomentModule,
AppNativeModule
],
bootstrap: [AppComponent]
})
export class AppModule {
}