DatePipe added
This commit is contained in:
parent
e910f87ec4
commit
256196c981
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { LoginComponent } from './login/login.component';
|
import { LoginComponent } from './login/login.component';
|
||||||
import { GeneralComponent } from './general/general.component';
|
import { GeneralComponent } from './general/general.component';
|
||||||
import {CommonModule} from "@angular/common";
|
import {CommonModule, DatePipe} from "@angular/common";
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
@ -21,9 +21,9 @@ import {CommonModule} from "@angular/common";
|
||||||
FormsModule,
|
FormsModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
AppRoutingModule
|
AppRoutingModule,
|
||||||
],
|
],
|
||||||
providers: [],
|
providers: [DatePipe],
|
||||||
bootstrap: [AppComponent]
|
bootstrap: [AppComponent]
|
||||||
})
|
})
|
||||||
export class AppModule { }
|
export class AppModule { }
|
||||||
|
|
|
||||||
Reference in a new issue