org-table: Fix durations extracted from node properties
commitc0dec9a8bcfd4bf3bceb330348a4d01e35c2ae25
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 10 May 2015 23:20:37 +0000 (11 01:20 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 10 May 2015 23:20:37 +0000 (11 01:20 +0200)
tree53c56d2d97ec3c49aaae16b460834fcff4b6f978
parent56d9834acc66fd50ef6f24eab9e85b7d80452261
org-table: Fix durations extracted from node properties

* lisp/org-table.el (org-table-formula-substitute-names): Convert
  durations when needed.  Refactor code.

* testing/lisp/test-org-table.el (test-org-table/duration): New test.

Reported-by: Daniele Pizzolli <dan@toel.it>
<http://permalink.gmane.org/gmane.emacs.orgmode/97252>
lisp/org-table.el
testing/lisp/test-org-table.el