From e86d52d4f0c60a299a3de9d71e92a5bbe36c69b9 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 26 Oct 2010 09:21:13 +0100 Subject: [PATCH] Fix #7300 - date comparisons wrong --- src/calibre/library/caches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 300ddbac0b..03383ee7dd 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -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: