aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 15:10:03 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 15:10:03 +0100
commit08858dcb638f6267752d6b620784d0467fd90e98 (patch)
tree040528279e93c93023963cd88f22959a4e2e7c4c /lisp/mastodon-profile.el
parent133671bdd0971e3b31108ffcc002823351435892 (diff)
document JOINED, remove ts from profile.el
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 6c58e52..331b5c9 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -38,7 +38,6 @@
(require 'seq)
(require 'cl-lib)
(require 'persist)
-(require 'ts)
(require 'parse-time)
(autoload 'mastodon-auth--get-account-id "mastodon-auth")
@@ -691,7 +690,9 @@ HEADERS means also fetch link headers for pagination."
(goto-char (point-min)))))
(defun mastodon-profile--format-joined-date-string (joined)
- "Format a human-readable Joined string from timestamp JOINED."
+ "Format a human-readable Joined string from timestamp JOINED.
+JOINED is the `created_at' field in profile account JSON, and of
+the format \"2000-01-31T00:00:00.000Z\"."
(format-time-string "Joined: %d %B %Y"
(parse-iso8601-time-string joined)))