diff options
author | Benjamin Andresen <benny@in-ulm.de> | 2011-07-09 17:47:41 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-07-09 17:47:41 +0200 |
commit | a493b4d489e8f6141a855e3db8ecc13bb63d39ac (patch) | |
tree | 0d34283a1d153c744cd052629d3e79dc21bafdbb | |
parent | f65e63d09420ffe19bbbd7652fe9f67ef213432c (diff) | |
download | org-mode-a493b4d489e8f6141a855e3db8ecc13bb63d39ac.tar.gz |
Fix calc-eval date(<timestamp>)
-rw-r--r-- | lisp/org-table.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index fcb6e9e..23118cc 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)))) |