From c25ff128955784d7d7950af604f79dcab3d1d333 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 9 Jun 2024 17:51:28 +0900 Subject: [PATCH] Fix firefox time filtering --- src/browser_history_merger/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser_history_merger/__init__.py b/src/browser_history_merger/__init__.py index e47c3fa..a44a76e 100644 --- a/src/browser_history_merger/__init__.py +++ b/src/browser_history_merger/__init__.py @@ -270,7 +270,7 @@ def add_db( moz_historyvisits, moz_places WHERE - moz_historyvisits.visit_date > (?) + moz_historyvisits.visit_date > (?) - 11644473600000000 AND moz_historyvisits.place_id = moz_places.id """ select_visit_sql = """ @@ -286,7 +286,7 @@ def add_db( moz_historyvisits, moz_places WHERE - moz_historyvisits.visit_date > (?) + moz_historyvisits.visit_date > (?) - 11644473600000000 AND moz_historyvisits.place_id = moz_places.id """ convert_transition_type = convert_firefox_transition_type @@ -382,7 +382,7 @@ def add_db( [browser_id], ) (new_urls_time_max,) = res.fetchone() - logging.info(f"{new_urls_time_max=}") + logging.info(f"{new_urls_time_max=} (in chromium format)") root_cur.execute( """ UPDATE