Using the TIME
data type, my data is currently displayed in the format hh:mm:ss
(03:14:00). How can I change it to display in the format hh:mm
(03:14)? The usual DATE type method does not seem to work:
{{test.time | date: 'HH:mm'}}
However, this approach only results in an error being generated:
Error: InvalidPipeArgument: 'Unable to convert "03:14:00" into a date' for pipe 'DatePipe'