Error When Rendering Documentatin's Daily Agenda ("Tasks query: do not understand due date") #586
-
Hey @schemar Perhaps I'm not following what you and the OP discussed on discussion 146. I'm able to get the example queries in the documentation listed here, and its respective subtabs to work just fine. What I'm unable to do is look at page a preview mode with this content (please note I'm tabbing this in to hopefully render better on Github:
Due today
Due in the next two weeks
No due date
Done today
which comes from this page of the documentation. Every block, besides no due date (which makes sense as it does not leverage the date syntax), resolves to
I've tried rendering the markdown in the calendar plugin's "daily note" as well, and have experienced the same result. Do you, or anyone else, know how to allow the ability of the
without having to update the date every day manually. Thanks for your time |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I believe I answered my own question. The I think my desired use case is slightly different and is probably not covered by automation, but let's pretend that's actual question now.
Looks like I made this post too soon, as I believe I answered my own question. I'll let you mark this as answered if there is no better answer. I ended up reformatting the documentations' example as follows:
Due today
Due in the next two weeks
No due date
Done today
|
Beta Was this translation helpful? Give feedback.
-
@GregHilston you can have "dynamic" due/done dates with the Tasks plugin without any templating.
So, in your case, you can do something like the following (without any additional plugins besides Tasks):
|
Beta Was this translation helpful? Give feedback.
@GregHilston you can have "dynamic" due/done dates with the Tasks plugin without any templating.
When you use a date filter like
today
(see the documentation that @claremacrae provided), then that will always betoday
. The same query will show other resulting tasks tomorrow than it does today. And it will automatically update at midnight if you leave Obsidian open.today
,next sunday
, etc. are always relative to the current date. They are not replaced by the time you write the query.So, in your case, you can do something like the following (without any additional plugins besides Tasks):