feat: add moment.js based date pipe

This commit is contained in:
4gray committed 2021-02-05 00:03:31 +01:00
1 parent d008115b26
commit 4881ba8fe0
3 files changed
+29 -1

No files matched your search

+3 -1
View File
@@ -6,9 +6,10 @@ import { HeaderComponent } from './components/';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MaterialModule } from 'app/material.module';
import { FilterPipeModule } from 'ngx-filter-pipe';
import { MomentDatePipe } from './pipes/moment-date.pipe';
@NgModule({
declarations: [HeaderComponent],
declarations: [HeaderComponent, MomentDatePipe],
imports: [
CommonModule,
FilterPipeModule,
@@ -24,6 +25,7 @@ import { FilterPipeModule } from 'ngx-filter-pipe';
FormsModule,
HeaderComponent,
MaterialModule,
MomentDatePipe,
ReactiveFormsModule,
TranslateModule,
],