diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-12 10:57:39 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-12 10:57:39 +0100 |
commit | 256fcd5c929ac395337746ea88d102304aaa02ab (patch) | |
tree | cf6293a03203a5f2ecf3b29bbbeb67a5bb7fe6f6 /lisp/mastodon-tl.el | |
parent | afac39423a82a93fa14f9084e211bea0d1e6ce50 (diff) |
add poll TODO
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 80f9e02..3f5dd04 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1021,6 +1021,8 @@ this just means displaying toot client." (defun mastodon-tl--format-poll-expiry (timestamp) "Convert poll expiry TIMESTAMP into a descriptive string." + ;; TODO: this bugged when a timestamp was in the past + ;; despite the poll not being listed as expired (let ((parsed (ts-human-duration (ts-diff (ts-parse timestamp) (ts-now))))) (cond ((> (plist-get parsed :days) 0) |