core.js:5980 ERROR Error: InvalidPipeArgument: 'Unable to convert "[object Object]" 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