mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-07 15:16:28 +02:00
Fix typo in timestamp scale factor (#1627)
This commit is contained in:
@@ -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'):
|
||||
|
Reference in New Issue
Block a user