42

I recently upgraded to org-mode 8.2.5h and now when I update my clock tables, values that are larger than 24h get for instance displayed as: 1d 9:16. Is there any preference I can set to switch it back to the hours:minutes format. I've searched the documentation but could not find any information regarding this topic.

1
  • Please consider updating the correct answer, since the customization variables have changed.
    – quazgar
    Commented Nov 24, 2017 at 16:56

3 Answers 3

31

You should now use org-duration-format : (setq org-duration-format (quote h:mm)) for your question.

See https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00270.html for explanations.

1
  • Just upgraded to the latest stable org and can confirm that this setting works. Commented Oct 9, 2017 at 6:26
25

Apparently you can set the org-time-clocksum-format variable like this:

(setq org-time-clocksum-format (quote (:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)))
1
  • 2
    Is it possible that this may not work because of some reason? I had this working. Due to some reason it has stopped working
    – Prasanna
    Commented Sep 12, 2017 at 8:24
21
  • Before Org-Mode Version 9.1

You can set the org-time-clocksum-format variable like this :

(setq org-time-clocksum-format (quote (:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)))
  • Org-Mode Version 9.1 and up

You should now use org-duration-format :

(setq org-duration-format (quote h:mm))

See this for explanations on the update.

See this for the Org-Mode release notes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.