I am trying to create a DailyNote when I click on a link to a date that doesn’t yet have a DailyNote. I am creating the Daily Note in a different template (for reasons that I’m pretty sure are irrelevant here) and then moving it into the appropriate directory. However, the addition of the new note isn’t reflected in Calendar until I re-start Obsidian. I can live with this if I have to, but it would be great to have these noted appear in the Calendar as soon as they are added.
Things I have tried
Aside from searching in vain for a solution, I’ve not tried anything.
DOn’t know if this helps, but I’ve learned that the new note will appear in Calendar so long as it’s full path is in the link that spawns it (e.g., [[Day/2024/10/2024-10-27]]). But if the link is [[2024-10-27]] and I move it to the correct location with javascript, it doesn’t appear in Calendar.
Hello,
To immediately ensure new DailyNotes appear in the Calendar, try setting the format to YYYY/YYYY-MM-DD and ensure the folder is correctly configured1. This should help the Calendar recognize new notes without needing to restart Obsidian. mcdvoice com
Thanks for the quick reply, Michael (and apologies for the delayed response). Unless there’s something magical about the date format you’ve proposed, I don’t think this will solve my problem. At present, my date format in the DailyNotes plugin is YYYY/YYYY-MM/YYYY-MM-DD/YYYY-MM-DD. When I create the new notes using Templater, I use tp.file.move to put them in the location corresponding to that date format. After doing so, they are visible in File Explorer but, as noted previously, they don’t appear in the Calendar until I re-start Obsidian.
If I’ve misunderstood your suggestion, please let me know.