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

Schedule and ts predicates exclude date ranges #308

Closed
magogware opened this issue Oct 24, 2022 · 1 comment
Closed

Schedule and ts predicates exclude date ranges #308

magogware opened this issue Oct 24, 2022 · 1 comment

Comments

@magogware
Copy link

I'm trying to set up an org-ql-block that shows items scheduled for today with the following code:

            (org-ql-block '(and (todo "TODO")
                                (scheduled :on today))
                          ((org-ql-block-header "On today")))

I've also tried:

           (org-ql-block '(and (todo "TODO")
                               (ts-active :on today))
                          ((org-ql-block-header "On today")))

Items that have a scheduled property that is a single date (of the form <2022-10-24 Mon 23:30>) will show up in this block, but any items that have a scheduled property that is a range (of the form <2022-10-24 Mon 23:30-23:45>), even if both ends of the range fall within the specified date predicate, are excluded.

@magogware
Copy link
Author

Duplicate of #237

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

No branches or pull requests

1 participant