Browse Source

Fix wrong data in clock table using :block

* lisp/org.el (org-2ft): Use new signature for
  `org-parse-time-string'.
Nicolas Goaziou 7 years ago
parent
commit
cc5a9bf538
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -14808,7 +14808,7 @@ it as a time string and apply `float-time' to it.  If S is nil, just return 0."
    ((numberp s) s)
    ((numberp s) s)
    ((stringp s)
    ((stringp s)
     (condition-case nil
     (condition-case nil
-	(float-time (apply 'encode-time (org-parse-time-string s)))
+	(float-time (apply #'encode-time (org-parse-time-string s nil t)))
       (error 0.)))
       (error 0.)))
    (t 0.)))
    (t 0.)))