Querying Tasks from Yesterday's Daily Note in Obsidian
I'm a fairly prolific note-taker and have been, in both my personal and professional lives, for years.
I manage my notes with Obsidian (in fact, even this post was drafted in it) putting its Daily Notes Plugin into use to manage my to-do list. At the start of each day, the rollover daily todos plugin copies any incomplete to-do's over from the previous day's notes.
This combination gives me a fresh notes file each day with any unfinished tasks copied across.
I've been using this system for quite a while, so there are now a lot of daily note files, which does make manually navigating to an older set of notes a little inconvenient.
Recently, I've developed a more regular need to look at the previous day's todo list: I've found that it's sometimes quite helpful to also be able to see what was completed in the previous day (as well as being useful for giving updates, it helps me avoid getting stuck in a rut where it feels like I'm not getting anything done).
Obsidian has template support which is able to insert the current date, but it's quite simple and cannot do date maths to work out what the filename of the previous notes file would be.
In this post, I'm going to write about the approach that I've taken to have Obsidian show me yesterdays work and display a link back to the relevant notes file.