I have a dataview query that I found on this forum (see below) that has been working well pulling any tasks I have where I used [[YYYY-MM-DD]] date format. I just realised there is an official way to set dates using @{YYYY-MM-DD} - I am now wondering the best way to amend this query to pull in tasks using the correct date format. When I use the below task the query works fine …
[ ] example task #todo [[2022-12-03]]
When I change the task to use the different date format it doesn’t work
Official? by who? not by Obsidian (I think), but maybe by another plugin.
What’s the date means in your tasks? the due date?
It needs to be a link (for [[2022-12-03]] case)? What’s the output of @{YYYY-MM-DD}?
You use another plugin to tasks?
These questions aren’t directed to a concrete solution, but to avoid “customized” queries solutions.
Dataview works well with dates without the use of regex or similar… but for that you need to use some rules/syntax/fields.
If you’re not dependent on another plugin, my suggestion is: use regular dataview rules.
Apologies, I may have been confused. it looks like the @{YYYY-MM-DD} date format may be specific to the Kanban plugin I am now using for tasks not obsidian. I am using the date as a due date on my tasks.
The query I shared was use in my daily notes to pull in a list of overdue, due today and upcoming tasks based on their due date.