mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Extract date filters quoted with non-ascii quotes in query
This commit is contained in:
parent
6a8fd9bf33
commit
564491e164
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue