aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index f96ecb5..ac9feba 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -740,11 +740,8 @@ HEADERS means also fetch link headers for pagination."
(defun mastodon-profile--format-joined-date-string (joined)
"Format a human-readable Joined string from timestamp JOINED."
- (let ((joined-ts (ts-parse joined)))
- (format "Joined %s" (concat (ts-month-name joined-ts)
- " "
- (number-to-string
- (ts-year joined-ts))))))
+ (format-time-string "Joined: %d %B %Y"
+ (parse-iso8601-time-string joined)))
(defun mastodon-profile--get-toot-author ()
"Open profile of author of toot under point.