obsidian-calendar-plugin icon indicating copy to clipboard operation
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

Open mretier opened this issue 2 years ago • 3 comments

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. image

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. image

OS

Windows 10

Obsidian Version (e.g. v0.10.6)

v0.13.23

Theme (if applicable):

Default theme

mretier avatar Feb 06 '22 15:02 mretier

I believe this issue is caused by the same reason as #216

mretier avatar Feb 11 '22 21:02 mretier

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.

mretier avatar Feb 11 '22 23:02 mretier