Extract date filters quoted with non-ascii quotes in query

This commit is contained in:
Debanjum Singh Solanky 2024-10-10 03:58:20 -07:00
parent 6a8fd9bf33
commit 564491e164

View file

@ -21,7 +21,7 @@ class DateFilter(BaseFilter):
# - dt>="yesterday" dt<"tomorrow"
# - dt>="last week"
# - dt:"2 years ago"
date_regex = r"dt([:><=]{1,2})[\"'](.*?)[\"']"
date_regex = r"dt([:><=]{1,2})[\"'](.*?)[\"']"
def __init__(self, entry_key="compiled"):
self.entry_key = entry_key