I'm using Emacs 23.4.1 and Org-Mode 8.0.6
In my org file I have the estimated number of hours that a task will take using the Effort
property of the associated heading. For example:
* My Tasks
** TODO Read a book...
** TODO Watch a film...
** TODO Learn org-mode
:PROPERTIES:
:Effort: 2:00
:END:
Then I can switch to column view and view the total time estimated for all of "my tasks". I do this by adding the following line to my org file:
#+COLUMNS: %55ITEM(Details) %5Effort(Time){:}
When the total number of hours is greater than 24, then the total is displayed in terms of days and hours, e.g. 3d 14
. How can I format the display so that it tells me the total number of hours (and minutes), rather than breaking it into days?
(In short, I want the total effort of "My Tasks" to display 86:00
, rather than 3d 14
.)
In column view, each outline node is turned into a table row. Columns in this table provide access to properties of the entries. Org mode implements columns by overlaying a tabular structure over the headline of each item. While the headlines have been turned into a table row, you can still change the visibility of the outline tree.
You can switch the column view off and return to the normal view by pressing `q' while the cursor is on the highlighted entry – but you can turn the column view on from any location in the buffer. The first headline is now a row of browsable columns displaying properties.
The default column only shows the item, the TODO state, the priority of the item and its tags, we will see later how to add other properties of your own. This default setup is driven by the variable org-columns-default-format, which global value is:
Column view also works in agenda buffers (see Agenda Views) where queries have collected selected items, possibly from a number of files. The COLUMNS format property. How to create and use column view.
See the var org-time-clocksum-format:
;; format string used when creating CLOCKSUM lines and when generating a
;; time duration (avoid showing days)
(setq org-time-clocksum-format
'(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t))
The accepted answer did not work for me. I was going to display CLOCKSUM
in hours. This worked:
(setq org-duration-format 'h:mm)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With