Hello,
I am trying to build a template for a daily note and I get the following error:
Templater Error: Invalid reference date format, try specifying one with the argument ‘reference_format’.
Here is the template:
Tasks
To do:
not done
due <%+ tp.date.now("YYYY-MM-DD", tp.file.title, "YYYY-MM-DD") %>
New today:
Done
done on <%+ tp.date.now("YYYY-MM-DD",tp.file.title, "YYYY-MM-DD")%>
The file name is in the format YYY-MM-DD
Any idea what I am doing wrong?