[dt] use 'parse_datetime_iso()' for ISO formats
This commit is contained in:
@@ -40,10 +40,8 @@ class MangataroChapterExtractor(MangataroBase, ChapterExtractor):
|
||||
"chapter_minor": str(round(minor, 5))[1:] if minor else "",
|
||||
"chapter_id" : text.parse_int(chapter_id),
|
||||
"chapter_url" : comic["url"],
|
||||
"date" : self.parse_datetime(
|
||||
comic["datePublished"], "%Y-%m-%dT%H:%M:%S%z"),
|
||||
"date_updated" : self.parse_datetime(
|
||||
comic["dateModified"], "%Y-%m-%dT%H:%M:%S%z"),
|
||||
"date" : self.parse_datetime_iso(comic["datePublished"]),
|
||||
"date_updated" : self.parse_datetime_iso(comic["dateModified"]),
|
||||
}
|
||||
|
||||
def images(self, page):
|
||||
|
||||
Reference in New Issue
Block a user