Closed kamidon closed 11 months ago
Hi,
Thanks for the well-written report. This appears to be the same issue covered in #237, so I'm closing this as a duplicate of that. I do intend to fix it, but I haven't had much time to work on this project recently. Thanks for your patience.
The timestamp predicates appear to ignore timestamps that contain both a start and end time. That is, they work for a timestamped item like:
but not for a timestamped item like:
These examples are taken from the org-mode manual timestamps page.
This appears to be because
org-ql-regexp-part-ts-time
does not allow for the optional end time to be specified. If I make the following binding before loadingorg-ql
things mostly work as I would expect for timestamps with both start and end times:This is sufficient for what I need right now. However, I suspect that the
:to
and:from
arguments to these predicates might need to adjust their behavior slightly for timestamps with a duration like this so I am not submitting a "fix" for this problem that just updates the regular expression definition.