From a493b4d489e8f6141a855e3db8ecc13bb63d39ac Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Sat, 9 Jul 2011 17:47:41 +0200 Subject: [PATCH] Fix calc-eval date() --- lisp/org-table.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-table.el b/lisp/org-table.el index fcb6e9ece..23118cc81 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -3213,6 +3213,7 @@ For example: 28 -> AB." (sec (string-to-number (match-string 3 s)))) (+ (* hour 3600) (* min 60) sec))) ((and (stringp s) + (not (string-match org-ts-regexp-both s)) (string-match "\\([0-9]+\\):\\([0-9]+\\)" s)) (let ((min (string-to-number (match-string 1 s))) (sec (string-to-number (match-string 2 s))))