obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

feat: add ability to set default month for calendar

Open antistic opened this issue 1 year ago • 5 comments

Resolves #1810

Adds the ability to set a default month for the calendar query, e.g.

CALENDAR file.ctime
DEFAULT MONTH 2021-12

antistic avatar Nov 20 '24 13:11 antistic

I really want to get this feature

efirlus avatar Jan 18 '25 09:01 efirlus

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.

jcsnorlax97 avatar Feb 01 '25 18:02 jcsnorlax97

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.

holroy avatar Mar 15 '25 14:03 holroy

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)

antistic avatar Mar 20 '25 19:03 antistic

Keen on seeing this completed!

Taaqif avatar Mar 31 '25 05:03 Taaqif