aboutsummaryrefslogtreecommitdiff
path: root/sx-time.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-02 18:13:26 -0500
committerSean Allred <code@seanallred.com>2015-01-02 18:13:26 -0500
commit2797cd52800b628c91de9c191f24f5513fe244ca (patch)
tree16125090a71812cab759eaa0bba9bde55c4b566a /sx-time.el
parentf97c84c2d4a0a8ef6e53333a0a5c528397ccaded (diff)
parentdd9c2017cb3f0b145b39150562a0c4e59c244df1 (diff)
Merge branch 'get-all' into tag-bot
Diffstat (limited to 'sx-time.el')
-rw-r--r--sx-time.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-time.el b/sx-time.el
index e65bb50..3de124d 100644
--- a/sx-time.el
+++ b/sx-time.el
@@ -42,7 +42,7 @@
(defun sx-time-since (time)
"Convert the time interval since TIME (in seconds) to a short string."
- (let ((delay (- (time-to-seconds) time)))
+ (let ((delay (- (float-time) time)))
(concat
(if (> 0 delay) "-" "")
(if (= 0 delay) "0s"