aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Griffith <griffitaj@gmail.com>2018-02-25 15:18:10 -0500
committerAlexander Griffith <griffitaj@gmail.com>2018-02-25 15:18:10 -0500
commitb8ce6fcd2b5e7ff0ab1aa571ddaca0678b6ab311 (patch)
tree4072c882e3d7d11707c0b97113e97a1c43b4ee53
parent2d2ef1aaebd0f7ba8815554eefcb3234bd17d483 (diff)
use absolute time stamps when mastodon-tl--enable-relative-timestamps is nil
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index dc5350d..c44ac01 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -248,7 +248,9 @@ TIME-STAMP is assumed to be in the past."
(propertize
(format-time-string mastodon-toot-timestamp-format parsed-time)
'timestamp parsed-time
- 'display (mastodon-tl--relative-time-description parsed-time))
+ 'display (if mastodon-tl--enable-relative-timestamps
+ (mastodon-tl--relative-time-description parsed-time)
+ parsed-time))
(propertize "\n ------------" 'face 'default))
'favourited-p faved
'boosted-p boosted