InvalidPipeArgument: 'Unable to convert "28-02-2021" into a date' for pipe 'DatePipe code example
Example: Error: InvalidPipeArgument: 'Unable to convert "2021-02-13 04:24:56" into a date' for pipe 'DatePipe
You have to convert the value to "Date" before your pipe