mirror of
https://github.com/qwjyh/browser-history-merger.git
synced 2024-11-23 15:31:08 +09:00
Fix firefox time filtering
This commit is contained in:
parent
c24f02fe94
commit
c25ff12895
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue