Bläddra i källkod

fix pocket timestamps defaulting to now

Nick Sweeting 6 år sedan
förälder
incheckning
1b36d5b29c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      archivebox/parse.py

+ 1 - 1
archivebox/parse.py

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