all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Julian M. Burgos" <julian.burgos@hafogvatn.is>
Cc: emacs-orgmode@gnu.org
Subject: Re: Confused about org-duration-format
Date: Mon, 04 Dec 2017 18:45:22 +0100	[thread overview]
Message-ID: <877eu28k0d.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <xgz1skaif3s.fsf@hafogvatn.is> (Julian M. Burgos's message of "Mon, 04 Dec 2017 17:21:11 +0000")

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

      reply	other threads:[~2017-12-04 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 17:21 Confused about org-duration-format Julian M. Burgos
2017-12-04 17:45 ` Nicolas Goaziou [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877eu28k0d.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=julian.burgos@hafogvatn.is \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.