[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -26,7 +26,7 @@ class PiczelExtractor(Extractor):
|
||||
def items(self):
|
||||
for post in self.posts():
|
||||
post["tags"] = [t["title"] for t in post["tags"] if t["title"]]
|
||||
post["date"] = text.parse_datetime(
|
||||
post["date"] = self.parse_datetime(
|
||||
post["created_at"], "%Y-%m-%dT%H:%M:%S.%f%z")
|
||||
|
||||
if post["multi"]:
|
||||
|
||||
Reference in New Issue
Block a user