feat: add ability to set default month for calendar
Resolves #1810
Adds the ability to set a default month for the calendar query, e.g.
CALENDAR file.ctime
DEFAULT MONTH 2021-12
I really want to get this feature
Thanks for making the change! Just wondering, when will this change be merged & become available? I'm hoping to use this feature for my vault as well.
Not sure on the naming of the extended syntax, and the code doesn't follow the coding standard of this repository. As such, it's changed to a draft pull request, until further changes has been made.
fixed the error flagged by npm check-format, assuming that's what you meant by coding standard
for the naming of the extended syntax i'm happy to change it to whatever makes the most sense. the current keywords are from the original issue feature request title. some other ideas are DISPLAY MONTH (matching the underlying component), DISPLAY, SHOW, FOCUS, or removing the keyword altogether like CALENDAR 2022-12 file.ctime (matching TABLE/TABLE WITHOUT ID)
Keen on seeing this completed!