diff --git a/README.org b/README.org index 698197d..6997688 100644 --- a/README.org +++ b/README.org @@ -236,6 +236,9 @@ If ~MARKERS~ is non-nil, ~org-agenda-ng--add-markers~ is used to add markers to *Changed* + ~(regexp)~ selector accepts multiple regexps to test. +*Fixed* ++ Handle date ranges in date-based selectors. (Thanks to [[https://github.com/codygman][Cody Goodman]], [[https://github.com/swflint][Samuel W. Flint]], and [[https://github.com/vikasrawal][Vikas Rawal]].) + *Compatibility* + Fixes for compatibility with Org 9.2. (Thanks to [[https://github.com/ataias][Ataias Pereira Reis]] and [[https://github.com/dakra][Daniel Kraus]].) diff --git a/org-ql.el b/org-ql.el index 04c81ca..0360a28 100644 --- a/org-ql.el +++ b/org-ql.el @@ -735,7 +735,7 @@ like one returned by `date-to-day'." (string (date-to-day (concat target-date " 00:00"))) (integer target-date)))) (pcase (org-element-property :type date-element) - ((or 'active 'inactive) + ((or 'active 'inactive 'active-range 'inactive-range) (funcall comparator (org-time-string-to-absolute (org-element-timestamp-interpreter date-element 'ignore))