[aryion] adjust 'date' to UTC time
This commit is contained in:
@@ -94,7 +94,8 @@ class AryionExtractor(Extractor):
|
|||||||
}
|
}
|
||||||
|
|
||||||
d1, _, d2 = data["date"].partition(",")
|
d1, _, d2 = data["date"].partition(",")
|
||||||
data["date"] = text.parse_datetime(d1[:-2] + d2, "%b %d %Y %I:%M %p")
|
data["date"] = text.parse_datetime(
|
||||||
|
d1[:-2] + d2, "%b %d %Y %I:%M %p", -5)
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@@ -145,7 +146,7 @@ class AryionPostExtractor(AryionExtractor):
|
|||||||
"title" : "I'm on subscribestar now too!",
|
"title" : "I'm on subscribestar now too!",
|
||||||
"description": r"re:Doesn't hurt to have a backup, right\?",
|
"description": r"re:Doesn't hurt to have a backup, right\?",
|
||||||
"tags" : ["Non-Vore", "subscribestar"],
|
"tags" : ["Non-Vore", "subscribestar"],
|
||||||
"date" : "dt:2019-02-16 14:30:00",
|
"date" : "dt:2019-02-16 19:30:00",
|
||||||
"path" : [],
|
"path" : [],
|
||||||
"views" : int,
|
"views" : int,
|
||||||
"favorites": int,
|
"favorites": int,
|
||||||
|
|||||||
Reference in New Issue
Block a user