I'm looking for a solution to write a day as string from an Integer.
I found this to have the current day as a string.
{{ 'now' | localizeddate("none", "none", null, null, "EEEE") | capitalize }}
Result => Monday
But I would like to replace 'now'
by an integer.
1
for Monday
2
for Tuesday
3
for W...