Przeglądaj źródła

fix pocket timestamps defaulting to now

Nick Sweeting 6 lat temu
rodzic
commit
1b36d5b29c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      archivebox/parse.py

+ 1 - 1
archivebox/parse.py

@@ -172,7 +172,7 @@ def parse_rss_export(rss_file):
             'url': url,
             'url': url,
             'domain': domain(url),
             'domain': domain(url),
             'base_url': base_url(url),
             'base_url': base_url(url),
-            'timestamp': str(datetime.now().timestamp()),
+            'timestamp': str(time.timestamp()),
             'tags': '',
             'tags': '',
             'title': title or fetch_page_title(url),
             'title': title or fetch_page_title(url),
             'sources': [rss_file.name],
             'sources': [rss_file.name],