Recently, I encountered an issue with the following code snippet:
<ng-template>{{date:'MM/dd/yyyy h:mm:ss a Z'}}</ng-template>
. This code displays a date and time in one long line. My goal is to insert a line break between the date and time using <br />
, but for some reason it isn't working.
Do you have any suggestions on how to solve this problem?
Thank you!