From 3312a34b39167058afa5d83c78e96031575c2402 Mon Sep 17 00:00:00 2001 From: 1over137 <22680475+1over137@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:50:40 +0000 Subject: [PATCH] Fix typo in timestamp scale factor --- archivebox/parsers/generic_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/parsers/generic_json.py b/archivebox/parsers/generic_json.py index 8e36e5ad..1989c858 100644 --- a/archivebox/parsers/generic_json.py +++ b/archivebox/parsers/generic_json.py @@ -26,7 +26,7 @@ def jsonObjectToLink(link: str, source: str): ts_str = str(datetime.now(timezone.utc).timestamp()) if link.get('timestamp'): # chrome/ff histories use a very precise timestamp - ts_str = str(link['timestamp'] / 10000000) + ts_str = str(link['timestamp'] / 1000000) elif link.get('time'): ts_str = str(json_date(link['time'].split(',', 1)[0]).timestamp()) elif link.get('created_at'):