From: Nick Dokos <nicholas.dokos@hp.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: decimal hours for clocking
Date: Wed, 06 May 2009 01:11:16 -0400 [thread overview]
Message-ID: <27927.1241586676@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Samuel Wales <samologist@gmail.com> of "Tue, 05 May 2009 19:41:25 PDT." <20524da70905051941j3957953j788ac757f5e4ccf1@mail.gmail.com>
Samuel Wales <samologist@gmail.com> wrote:
> This is a tiny little thing, but currently org-clock-display shows
> hours and minutes. Perhaps it could also show decimal hours. Thus
> 9:30 could report as "9:30 (9.5h)". I'd find it easier not to have to
> calculate it manually.
>
Assuming that you talking about the total time that is written out in
the echo area by org-clock-display, you can change its last line from
this:
...
(message (concat "Total file time: " org-time-clocksum-format "(%d hours and %d minutes)") h m h m)))
to this:
...
(message (concat "Total file time: " org-time-clocksum-format "(%d hours and %d minutes (%d.%02d))") h m h m h (* 100 (/ m 60.0)))))
HTH,
Nick
next prev parent reply other threads:[~2009-05-06 5:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 2:41 decimal hours for clocking Samuel Wales
2009-05-06 5:11 ` Nick Dokos [this message]
2009-05-27 22:43 ` Samuel Wales
-- strict thread matches above, loose matches on Subject: below --
2018-07-20 21:16 Samuel Wales
2018-08-21 18:15 ` Nicolas Goaziou
2018-08-21 21:55 ` Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27927.1241586676@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).