My Daily Notes date format is configured with the default "YYYY-MM-DD" but I like to add a title after the date to my notes, like this "2023-06-12 Beach day". Since the resulting filename doesn't strictly match the format, these notes are not taken into account by the Calendar and Journal Review plugins, which use this library.
I figured out an easy solution with a simple modification in the library source code:
locate the following line in funtion getDateFromFilename(file, granularity)
const noteDate = window.moment(filename, format, true);
It would be nice to have support for these types of notes, parameterizing the call to the parsing function to be strict or not, based on a plugin setting...
My Daily Notes date format is configured with the default "YYYY-MM-DD" but I like to add a title after the date to my notes, like this "2023-06-12 Beach day". Since the resulting filename doesn't strictly match the format, these notes are not taken into account by the Calendar and Journal Review plugins, which use this library.
I figured out an easy solution with a simple modification in the library source code:
const noteDate = window.moment(filename, format, true);
It would be nice to have support for these types of notes, parameterizing the call to the parsing function to be strict or not, based on a plugin setting...
Thank you.