org-table: new defcustom `org-table-duration-custom-format'.
commit70fab165e1966b32e08ed05776ca19e711d1d1e9
authorBastien Guerry <bzg@altern.org>
Wed, 27 Jul 2011 11:14:37 +0000 (27 13:14 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 27 Jul 2011 11:14:37 +0000 (27 13:14 +0200)
treef56df29f83854448bd17d167456c6af5f9394d85
parent4f85aa21c6f09ac82b6ba923eeadda511af19999
org-table: new defcustom `org-table-duration-custom-format'.

This allows to display the output of duration computations
as a fraction of days, hours, minutes or seconds.

Thanks to Daniel E. Doherty for bringing up this need.

* org-table.el (org-table-duration-custom-format): New
defcustom to select output format of durations computations.
(org-table-time-seconds-to-string): Use the new variable.
(org-table-eval-formula): Allow `t' as a flag, on top of `T'.
`t' will use the custom output format defined in
`org-table-duration-custom-format.
doc/org.texi
lisp/org-table.el