I have used a small template for date headings for a long time. The last few weeks (not sure exactly), I have been getting erroniously formatted inserts. For example yesterday and today where the 21st, and 22nd of the month. but the formatting outputs 1st and 2nd. I have search the forum but it seems that most people overlook momentjs syntax. I believe this is a legitimate bug.
my template is:
##### ***<% tp.date.now("ddd, MMM do")%>***
I have made very sure that no changes to the template have disrupted the formatting. (I use git; I would have caught that). I have tested non-formatted dates and it seems that the value itself is correct. The problematic do
is responsible, I can change it to DD
and the display changes to the correct value for day of the month.
I prefer to use ordinals to cardinals in those headers. Does anyone know what the problem might be? I am out of troubleshooting ideas.
Using obsidian v1.8.9, installer v1.8.9. Templater v2.11.1