I have an Angular date variable today
that I'm using the date pipe on, like so:
{{today | date:'LLLL d'}}
February 13
However, I would like to make it appear like this:
13 days so far in February
When I try a naive approach to this, I get this result:
{{today | date:'d days so far in LLLL'}}
13 13PM201818 18o fPMr in February
This is because, for instance d
refers to the day.
How can I escape these characters in an Angular date pipe? I tried \d
and such, but the result did not change with the added backslashes.
d [days so far in] LLLL
– Afghanistan13 [13PM201820 20o fPMr in] February
– Affrica