This code assumes the next date lives in the same directory as the current date.
In my vault I organize dates in nested directories by Timestamps/yyyy/MM-MMMM/yyyy-MM-dd-cccc. When I reach the last day of a month, the next note is a dead link because it assumes the same directory as the current day:
Clearly 2024-05-01 should not live in the 04-April directory, and the link is greyed out because it points to a non-existing file:
To Reproduce
Steps to reproduce the behavior:
Organize date notes in separate directories by say month or year
Enable the date notes builder
Select last date in directory
Next date is a dead link
Expected behavior
Link should point to the directory of the next date.
Describe the bug
There is a bug in the date builder here: https://github.com/SkepticMystic/breadcrumbs/blob/af50de11c8dd70af4167a98044e05292bec85339/src/graph/builders/explicit/date_note.ts#L88-L92
This code assumes the next date lives in the same directory as the current date.
In my vault I organize dates in nested directories by
Timestamps/yyyy/MM-MMMM/yyyy-MM-dd-cccc
. When I reach the last day of a month, the next note is a dead link because it assumes the same directory as the current day:Clearly
2024-05-01
should not live in the04-April
directory, and the link is greyed out because it points to a non-existing file:To Reproduce
Steps to reproduce the behavior:
Expected behavior
Link should point to the directory of the next date.