import { Pipe , PipeTransform } from '@angular/core' ; import { DatePipe } from '@angular/common' ; @ Pipe ( { name : 'dateFormatPipe' } ) export class DateFormatPipe extends DatePipe implements PipeTransform { transform ( value , args ? ) { return super . transform ( value , 'dd.MM.yyyy hh:mm:ss' ) ; } }