emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Confused about org-duration-format
@ 2017-12-04 17:21 Julian M. Burgos
  2017-12-04 17:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Julian M. Burgos @ 2017-12-04 17:21 UTC (permalink / raw)
  To: emacs-orgmode

Dear list,

I do not quite follow how to set up org-duration-format.  In particular,
I would like to have my clock tables represented as decimal hours (e.g.
3.50 h, rather than 3:30 h).

Any help would be welcomed.

Julian

--
Julian Mariano Burgos, PhD
Hafrannsóknastofnun, rannsókna- og ráðgjafarstofnun hafs og vatna/
Marine and Freshwater Research Institute
Botnsjávarsviðs / Demersal Division
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: julian.burgos@hafogvatn.is

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Confused about org-duration-format
  2017-12-04 17:21 Confused about org-duration-format Julian M. Burgos
@ 2017-12-04 17:45 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-12-04 17:45 UTC (permalink / raw)
  To: Julian M. Burgos; +Cc: emacs-orgmode

Hello,

"Julian M. Burgos" <julian.burgos@hafogvatn.is> writes:

> I do not quite follow how to set up org-duration-format.  In particular,
> I would like to have my clock tables represented as decimal hours (e.g.
> 3.50 h, rather than 3:30 h).

I think it would be

  '(("h" . t) (special . 2))

You can test the output with, e.g.

  M-: (org-duration-from-minutes 200 '(("h" . t) (special . 2)))

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-04 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04 17:21 Confused about org-duration-format Julian M. Burgos
2017-12-04 17:45 ` Nicolas Goaziou

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).