kaaremai
(Kåre Mai)
1
Hi,
I’m trying to format a DateTime field in a blocklist:
{{ timeStart | date:'HH:mm' }} - {{ timeEnd | date:'HH:mm' }}: {{ text }}
But this just shows the date and time in its full format like this:
2025-02-21 14:00:00 - 2025-02-21 16:00:00
Can anyone see whats wrong or why this won’t work? I’ve used the “Umbraco Angular tips and tricks page” here as inspiration:
and this source:
It seems that no matter what i write, it will output the full date and time in the backoffice!
Hi Kåre,
I think this thread might be of help to you:
Specifically the post about using a custom angular filter for formatting the datetime string.
Hope that helps!
system
(system)
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.