Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queries should support relative date filters #1

Closed
schemar opened this issue Apr 11, 2021 · 1 comment
Closed

Queries should support relative date filters #1

schemar opened this issue Apr 11, 2021 · 1 comment

Comments

@schemar
Copy link
Owner

@schemar schemar commented Apr 11, 2021

When I embed a ```tasks block, I want to be able to filter dates also by relative statements.

In addition to, for example, due before 2021-09-12, relative dates could help with a page where I always have certain tasks. That page could look something like the following, as an example:

# Tasks
## Overdue
```tasks
due before today
not done
```

## Due today
```tasks
due on today
not done
```

## Due this week
```tasks
due after today
due before in 8 days
not done
```
@schemar schemar changed the title Transclusion should support relative date filters Queries should support relative date filters Apr 26, 2021
@schemar
Copy link
Owner Author

@schemar schemar commented Apr 26, 2021

Consider an optional dependency on the nldates plugin for obsidian. If tibia installed, the user can use relative dates. If nldates is not installed, then you cannot use relative dates.

🤔

Natural language dates could also already be a dependency due to the rrule dependency which also utilizes nlp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant