Fix json export date parsing (#241)

Fix json export date parsing
This commit is contained in:
Nick Sweeting 2019-05-20 06:08:43 -04:00 committed by GitHub
commit 1ebeb11bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ def parse_json_export(json_file):
json_file.seek(0)
links = json.load(json_file)
json_date = lambda s: datetime.strptime(s, '%Y-%m-%dT%H:%M:%S%z')
json_date = lambda s: datetime.strptime(s, '%Y-%m-%dT%H:%M:%SZ')
for link in links:
# example line