From ac9fed06fdc8fb5443295b3b4ea670bc0a4edaa6 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 30 Mar 2019 17:59:56 -0400 Subject: [PATCH] whitespace --- archivebox/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/archivebox/util.py b/archivebox/util.py index 617c7e2e..9c62526d 100644 --- a/archivebox/util.py +++ b/archivebox/util.py @@ -386,6 +386,7 @@ def parse_date(date: Any) -> Optional[datetime]: if EARLIEST_POSSIBLE < timestamp < LATEST_POSSIBLE: # number is seconds return datetime.fromtimestamp(timestamp) + elif EARLIEST_POSSIBLE * 1000 < timestamp < LATEST_POSSIBLE * 1000: # number is milliseconds return datetime.fromtimestamp(timestamp / 1000)