From 36fd99f2e33b676bb73c2d6b6178a6e7dd73aba6 Mon Sep 17 00:00:00 2001 From: Cody Goodman Date: Tue, 4 Dec 2018 21:53:53 -0600 Subject: [PATCH] add support for active-range, fixes #15 org-time-string-to-absolute already supports it, it just wasn't added in this or block --- org-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-ql.el b/org-ql.el index efe3613..a61beeb 100644 --- a/org-ql.el +++ b/org-ql.el @@ -308,7 +308,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) (funcall comparator (org-time-string-to-absolute (org-element-timestamp-interpreter date-element 'ignore))