locale stuff
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { LOCALE_ID, NgModule } from '@angular/core';
|
||||
import localeDe from '@angular/common/locales/de';
|
||||
import { registerLocaleData } from '@angular/common';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
@ -43,6 +45,8 @@ import { FeeDetailsComponent } from './fee-details/fee-details.component';
|
||||
import { MatExpansionModule } from '@angular/material/expansion';
|
||||
import { AccountComponent } from './account/account.component'
|
||||
|
||||
registerLocaleData(localeDe)
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
@ -92,6 +96,7 @@ import { AccountComponent } from './account/account.component'
|
||||
providers: [
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: ErrorHandlerInterceptor, multi: true },
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: AuthHandlerInterceptor, multi: true },
|
||||
{ provide: LOCALE_ID, useValue: 'de' },
|
||||
MatNativeDateModule
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
|
Reference in New Issue
Block a user