I'm using Angular 9
with CommonModule
DatePipe
transform
method like:
this.datePipe.transform(sumDate, 'dd/mm/yyyy HH:mm:ss');
I get:
27/20/2020 17:20:14
And I need just a small letter h at the end of it, like:
27/20/2020 17:20:14h
I looked at the docs but couldn't find anything. Thanks.
You can attach a letter
h
by surrounding the literal text with '