For some reason the date variable wasn't being updated when I applied the template to the daily note. So, I made an adjustment to how I got the date. Because the daily note's name also has the full date in the same format YYYY-MM-DD, I first got the file name in a variable and then transfered that to the today variable. This is what it looks like: const fileName = dv.current().file.name; const today = dv.date(fileName); After that, the rest of the code block worked just fine.
It’s under the title “Memento Mori” - I just double-checked the vault, looks like it’s there but if you can’t find send me an email and I’ll get you the file, mike@obsidianuniversity.com
hi my friend. the template only worked with YYYY-MM-DD. Is it possible to exchange and use DD-MM-YYYY? I changed it but it didn't work, despite the date of the plugins being the same.
You're right, I can't get it to work when changing the date format to DD-MM-YYYY either. Unfortunately, I don't know enough about Dataview to really troubleshoot what the issue is though. Sorry 😞
This is such a weird wild encapsulation of my interests. Ty for sharing!
Thanks for watching 🙂
Thanks for this ... was exactely what I was looking for
Awesome! Glad it was helpful 😊
For some reason the date variable wasn't being updated when I applied the template to the daily note. So, I made an adjustment to how I got the date.
Because the daily note's name also has the full date in the same format YYYY-MM-DD, I first got the file name in a variable and then transfered that to the today variable. This is what it looks like:
const fileName = dv.current().file.name;
const today = dv.date(fileName);
After that, the rest of the code block worked just fine.
I am not finding the specific code in your template folder. Maybe I'm not seeing what it is called?
It’s under the title “Memento Mori” - I just double-checked the vault, looks like it’s there but if you can’t find send me an email and I’ll get you the file, mike@obsidianuniversity.com
hi my friend.
the template only worked with YYYY-MM-DD. Is it possible to exchange and use DD-MM-YYYY? I changed it but it didn't work, despite the date of the plugins being the same.
You're right, I can't get it to work when changing the date format to DD-MM-YYYY either. Unfortunately, I don't know enough about Dataview to really troubleshoot what the issue is though. Sorry 😞
Not "momento" but MEMENTO" ...
Momento is a short unit of time.
Memento is "to remember".
Two different things.
Thanks for pointing this out, think I got it right in the code but misspelled it for the chapter. Should be fixed now.
tomato tomato bro two of the same things