aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 12:28:53 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 12:28:53 +0200
commit4218cf29301f6819c986fb9b7d6af810b12fa2d1 (patch)
tree40a0cb255612b0769f2d08230221124cc96ce0b3
parent95ae148f45210f73f2c3e951ec3cc33531a239fe (diff)
downloadmastodon.py-4218cf29301f6819c986fb9b7d6af810b12fa2d1.tar.gz
Add datetime parsing for edited_at
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 08a91a0..d502597 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -3270,7 +3270,7 @@ class Mastodon:
3270 """ 3270 """
3271 Parse dates in certain known json fields, if possible. 3271 Parse dates in certain known json fields, if possible.
3272 """ 3272 """
3273 known_date_fields = ["created_at", "week", "day", "expires_at", "scheduled_at", "updated_at", "last_status_at", "starts_at", "ends_at", "published_at"] 3273 known_date_fields = ["created_at", "week", "day", "expires_at", "scheduled_at", "updated_at", "last_status_at", "starts_at", "ends_at", "published_at", "edited_at"]
3274 for k, v in json_object.items(): 3274 for k, v in json_object.items():
3275 if k in known_date_fields: 3275 if k in known_date_fields:
3276 if v != None: 3276 if v != None:
Powered by cgit v1.2.3 (git 2.41.0)