I would like to create tomorrow’s daily note the evening before. I have already got a template going using Templater and Dataview:
---
created: <% tp.file.creation_date() %>
tags:
- daily-note
---
# <% moment(tp.file.title,"YYYY-MM-DD").format("dddd, MMMM DD, YYYY") %>
<< [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM - MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD - dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM - MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD - dddd", 1) %>|Tomorrow]] >>
## 📅 Daily Questions
##### 🌜 Last night, I...
-
##### 🙌 One+ thing I'm excited about right now is...
-
##### 🚀 One+ thing I plan to accomplish today is...
- [ ]
*Don't forget to check Google Tasks for further tasks*.
##### 👎 One thing I'm struggling with today is...
-
## 📝 Notes
- <% tp.file.cursor() %>
## Notes Created Today
```dataview
List FROM "" WHERE file.cday = date("<% tp.date.now("YYYY-MM-DD") %>") SORT file.ctime asc
\```
## Notes Last Touched Today
```dataview
List FROM "" WHERE file.mday = date("<% tp.date.now("YYYY-MM-DD") %>") SORT file.mtime asc
\```
I had to insert the two backslashes to ensure proper formatting in this post.
I invoke this template by using the core ‘Daily notes’ plugin having the ‘Date format’ setting set to ‘YYYY/MM - MMMM/YYYY-MM-DD - dddd’.
I would like to click ‘Open today’s daily note’ button on the ribbon to open up tomorrow’s daily note instead of today’s. Is there anyway to accomplish this, ensuring the format above is followed and that the correct title is created for the note, ensuring it is placed in the correct directory?