apply workaround from 4736912 in parse_datetime() itself

This commit is contained in:
Mike Fährmann
2019-05-09 21:53:17 +02:00
parent 523ebc9b0b
commit b0e85a42e3
3 changed files with 12 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ class PixivExtractor(Extractor):
del work["meta_pages"]
work["num"] = ""
work["tags"] = [tag["name"] for tag in work["tags"]]
work["date"] = text.parse_datetime(work["create_date"][:-3] + "00")
work["date"] = text.parse_datetime(work["create_date"])
work.update(metadata)
yield Message.Directory, work