obsidian-calendar-plugin
obsidian-calendar-plugin copied to clipboard
Daily notes cannot be created from the calendar for February because dates are linked to existing notes in January
Describe the bug
The calendar view, when displaying the overview of the current month, February 2022, shows that notes have been created for dates that none have been created for. It turns out, that if notes were created on for example, January 22, 2022, the plugin shows that a note already exists for that day in February. Clicking on that date in the calendar then directs me to the note in January instead of creating a new one in February.
Going back in the calendar to January shows that no daily notes are present even though they are. Clicking on a date in January for which a daily note exists then throws the error message 'Unable to create new file'.
I'm using the following date format: YYYY/MM/DD
Screenshots
January view of the calendar. I'd expect to see one or two dots for most dates.
February view of the calendar. I'd expect to see no dots for most dates, since no notes have been created for theses dates, yet.
OS
Windows 10
Obsidian Version (e.g. v0.10.6)
v0.13.23
Theme (if applicable):
Default theme
I believe this issue is caused by the same reason as #216
After digging around in the forums a little bit, it appears that each daily note needs to have a unique file name over all daily notes. I now changed my structure to YYYY/MM/YYYY-MM-DD. This way the plugin is working as expected and I get to use my desired folder structure.