aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"