Closed localjo closed 6 months ago
Update: it looks like this problem is actually because the getDateFromFile
function is using the basename instead of the full file path to get the date
https://github.com/liamcain/obsidian-daily-notes-interface/blob/main/src/parse.ts#L51
But in the Daily Notes plugin, I am using the date format YYYY/MM/DD
to organize my notes into folders by year and month, so the basename doesn't contain the year.
Looks like this is a duplicate of https://github.com/liamcain/obsidian-daily-notes-interface/issues/21
This bug has been reported in the calendar plugin:
https://github.com/liamcain/obsidian-calendar-plugin/issues/351
But the source of the bug is actually this interface. It seems that this interface is returning notes with the correct date but wrong year.