diff options
Diffstat (limited to 'gallery_dl/extractor/mangataro.py')
| -rw-r--r-- | gallery_dl/extractor/mangataro.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gallery_dl/extractor/mangataro.py b/gallery_dl/extractor/mangataro.py index f4cc058..029bc2e 100644 --- a/gallery_dl/extractor/mangataro.py +++ b/gallery_dl/extractor/mangataro.py @@ -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" : text.parse_datetime( - comic["datePublished"], "%Y-%m-%dT%H:%M:%S%z"), - "date_updated" : text.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): |
