summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/telegraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/telegraph.py')
-rw-r--r--gallery_dl/extractor/telegraph.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/extractor/telegraph.py b/gallery_dl/extractor/telegraph.py
index 2713621..ab77b31 100644
--- a/gallery_dl/extractor/telegraph.py
+++ b/gallery_dl/extractor/telegraph.py
@@ -27,9 +27,8 @@ class TelegraphGalleryExtractor(GalleryExtractor):
'property="og:title" content="', '"')),
"description": text.unescape(extr(
'property="og:description" content="', '"')),
- "date": text.parse_datetime(extr(
- 'property="article:published_time" content="', '"'),
- "%Y-%m-%dT%H:%M:%S%z"),
+ "date": self.parse_datetime_iso(extr(
+ 'property="article:published_time" content="', '"')),
"author": text.unescape(extr(
'property="article:author" content="', '"')),
"post_url": text.unescape(extr(