mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #7300 - date comparisons wrong
This commit is contained in:
parent
6a44373f29
commit
e86d52d4f0
@ -380,7 +380,7 @@ class ResultCache(SearchQueryParser): # {{{
|
||||
field_count = 3
|
||||
else:
|
||||
try:
|
||||
qd = parse_date(query)
|
||||
qd = parse_date(query, as_utc=False)
|
||||
except:
|
||||
raise ParseException(query, len(query), 'Date conversion error', self)
|
||||
if '-' in query:
|
||||
|
Loading…
x
Reference in New Issue
Block a user