[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -40,9 +40,9 @@ 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" : text.parse_datetime(
|
||||
"date" : self.parse_datetime(
|
||||
comic["datePublished"], "%Y-%m-%dT%H:%M:%S%z"),
|
||||
"date_updated" : text.parse_datetime(
|
||||
"date_updated" : self.parse_datetime(
|
||||
comic["dateModified"], "%Y-%m-%dT%H:%M:%S%z"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user