diff options
author | Bastien Guerry <bzg@altern.org> | 2012-10-02 15:19:35 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-10-02 15:19:35 +0200 |
commit | a9c5399983d3cbccdde40b029ec00d23f34b464b (patch) | |
tree | a9d6f78d3bb39086cb4273b4c04276ab5e02a91a | |
parent | 410c5cb9e4afb96009a5aee07317fe534facd02a (diff) | |
download | org-mode-a9c5399983d3cbccdde40b029ec00d23f34b464b.tar.gz |
org.el: Use `org-float-time' instead f the obsolete `time-to-seconds' function
* org.el (org-time-stamp-to-now): Use `org-float-time' instead
of the obsolete `time-to-seconds' function.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index e59c469..95ed839 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15914,7 +15914,7 @@ Don't touch the rest." (defun org-time-stamp-to-now (timestamp-string &optional seconds) "Difference between TIMESTAMP-STRING and now in days. If SECONDS is non-nil, return the difference in seconds." - (let ((fdiff (if seconds 'time-to-seconds 'time-to-days))) + (let ((fdiff (if seconds 'org-float-time 'time-to-days))) (- (funcall fdiff (org-time-string-to-time timestamp-string)) (funcall fdiff (current-time))))) |