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 { LoginComponent } from './login/login.component';
|
||||
import { GeneralComponent } from './general/general.component';
|
||||
import {CommonModule} from "@angular/common";
|
||||
import {CommonModule, DatePipe} from "@angular/common";
|
||||
|
||||
|
||||
@NgModule({
|
||||
|
|
@ -21,9 +21,9 @@ import {CommonModule} from "@angular/common";
|
|||
FormsModule,
|
||||
CommonModule,
|
||||
ReactiveFormsModule,
|
||||
AppRoutingModule
|
||||
AppRoutingModule,
|
||||
],
|
||||
providers: [],
|
||||
providers: [DatePipe],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
export class AppModule { }
|
||||
|
|
|
|||
Reference in a new issue