aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:16:03 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:16:03 -0200
commit6987b0424a209227956d2be8aaa84c1303fd25fd (patch)
treebe2d9e3d273b16d55da603c3b0d3c362678d5d1e
parent203402f10a7bce27b30d19aa71b96dad9a0e6b3c (diff)
time-to-seconds is obsolete.
-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"