aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-30 15:35:36 +0200
committerLorenz Diener <[email protected]>2018-07-30 15:35:36 +0200
commitf864bea4e501202b16885304ba298a5a9812d0bb (patch)
tree7c124b018f0c2d19d4a52c2f6b3c63c65db597f5 /mastodon
parentd3594572bbde704585d94cda06ae1c8deac0bf8b (diff)
downloadmastodon.py-f864bea4e501202b16885304ba298a5a9812d0bb.tar.gz
Document hashtag history dicts
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index ace52ed..b22128f 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -1894,7 +1894,7 @@ class Mastodon:
1894 """ 1894 """
1895 Parse dates in certain known json fields, if possible. 1895 Parse dates in certain known json fields, if possible.
1896 """ 1896 """
1897 known_date_fields = ["created_at", "week"] 1897 known_date_fields = ["created_at", "week", "day"]
1898 for k, v in json_object.items(): 1898 for k, v in json_object.items():
1899 if k in known_date_fields: 1899 if k in known_date_fields:
1900 try: 1900 try:
Powered by cgit v1.2.3 (git 2.41.0)