mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-20 03:18:32 +00:00
Fix calc-eval date(<timestamp>)
This commit is contained in:
parent
f65e63d094
commit
a493b4d489
|
@ -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))))
|
||||
|
|
Loading…
Reference in a new issue