* lisp/org-duration.el (org-duration-to-minutes): Accept plain numbers for backward compatibility with `org-hh:mm-string-to-minutes'. * testing/lisp/test-org-duration.el (test-org-duration/to-minutes): Add test. Reported-by: Dale <dale@codefu.org> <http://permalink.gmane.org/gmane.emacs.orgmode/112290>
* lisp/org-duration.el (org-duration-to-minutes): Fix bug where the same unit with a decimal unit would be matched multiple times. * testing/lisp/test-org-duration.el (test-org-duration/to-minutes): Fix test.
* testing/lisp/test-org-duration.el: New file.