date fixes
This commit is contained in:
@ -45,6 +45,7 @@ import { FeeDetailsComponent } from './fee-details/fee-details.component';
|
||||
import { MatExpansionModule } from '@angular/material/expansion';
|
||||
import { AccountComponent } from './account/account.component';
|
||||
import { NoteComponent } from './note/note.component'
|
||||
import { MatMomentDateModule, MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular/material-moment-adapter'
|
||||
|
||||
registerLocaleData(localeDe)
|
||||
|
||||
@ -95,11 +96,14 @@ registerLocaleData(localeDe)
|
||||
MatNativeDateModule,
|
||||
MatExpansionModule
|
||||
],
|
||||
exports: [
|
||||
MatMomentDateModule
|
||||
],
|
||||
providers: [
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: ErrorHandlerInterceptor, multi: true },
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: AuthHandlerInterceptor, multi: true },
|
||||
{ provide: LOCALE_ID, useValue: 'de' },
|
||||
MatNativeDateModule
|
||||
{ provide: MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
|
Reference in New Issue
Block a user