hello everybody. I’m having a problem with creating future notes. Let me explain:
I’m using the “periodic notes” plugin to create my daily/weekly/monthly notes.
The plugin creates the daily notes with the following filename syntax:
YYYY-MM-DD
In my daily notes template, I have the following templater syntax:
# <% tp.date.now("ddd, DD-MM-YYYY") %>
<< [[<% tp.date.now("YYYY-MM-DD", -1) %>]] | [[<% tp.date.now("YYYY-MM-DD", 1) %>]] >>
so that I have an H1 heading with the day and date, then links to the previous and following days.
This works well and fine if I create the daily note in the relevant day. However, if I create a daily note in advance, it messes up the dates. It will have the H1 and links relevant to the creation date, not the actual date of that note.
This is a problem especially if I’m using the “Review” plugin to put notes for review in a future note.
Is there a way to re-format my template to have the dates according to the real date for that daily note? thanks