Currently, clocking time format is this:
CLOCK: [2021-01-12 Tue 22:45]--[2021-01-12 Tue 23:23] => 0:38
CLOCK: [2021-01-12 Tue 16:29]--[2021-01-12 Tue 17:08] => 0:39
Can I change this instead to the AM/PM 12-hour format that I have grown up with?
I looked for the answer online, and I found this good question/answer as a reference: https://stackoverflow.com/questions/22720526/set-clock-table-duration-format-for-emacs-org-mode
I am using org-version 9.3 and emacs-version 27.1. Apparently for org versions 9.1 and above:
(setq org-duration-format (quote h:mm))
the above variable, org-duration-format
is to be used. However, I cannot find documentation on how to change this to 12 hour AM/PM format.
The equivalent in elisp string formatting would be "%I:%M %p"
. However, org-duration-format
does not accept string values. The online documentation for formatting time in elisp can be found here.
org-duration-format
is for durations, not for times, so the duration format has nothing to do with an AM/PM specification.