From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [bug] Separate clocksum format for durations >= 1 day
Date: Fri, 30 Nov 2012 12:22:36 +0100 [thread overview]
Message-ID: <80sj7ruygz.fsf@somewhere.org> (raw)
In-Reply-To: 87lie0nve7.fsf@gmail.com
Nicolas, Toby,
Nicolas Goaziou wrote:
> I've applied your patch (with some small changes in a docstring). Thank
> you again for all that work.
Here an ECM which gave correct results before commit a00a7b2, and which does
not anymore:
--8<---------------cut here---------------start------------->8---
#+TITLE: ECM Prestas
#+Time-stamp: <2012-11-30 Fri 12:12>
#+LANGUAGE: en
#+OPTIONS: H:4 num:t toc:t
* Tasks
Some tasks with CLOCK lines.
** Design
*** TODO Do this
:LOGBOOK:
CLOCK: [2012-11-19 Mon 09:00]--[2012-11-19 Mon 10:11] => 1:11
:END:
:PROPERTIES:
:Effort: 2:00
:END:
** Develop
*** TODO Do that
:LOGBOOK:
CLOCK: [2012-11-19 Mon 10:00]--[2012-11-19 Mon 12:22] => 2:22
CLOCK: [2012-11-20 Tue 10:01]--[2012-11-20 Tue 12:35] => 2:34
:END:
* Reporting
** Summary
#+TBLNAME: prestasTotal
#+BEGIN: clocktable :maxlevel 4 :scope file :block 2012-11 :lang "en" :narrow 80! :indent t
#+CAPTION: Clock summary at [2012-11-30 Fri 12:12], for November 2012.
| Headline | Time | | |
|---------------------+------+------+------|
| Total time | 6:07 | | |
|---------------------+------+------+------|
| Tasks | 6:07 | | |
| \__ Design | | 1:11 | |
| \_____ TODO Do this | | | 1:11 |
| \__ Develop | | 4:56 | |
| \_____ TODO Do that | | | 4:56 |
#+END:
** Bill
| Total of worked hours | 6.12 | hours |
| Total of worked days (in days of 7:36) | 0.81 | days |
#+TBLFM: @1$2=remote(prestasTotal,@2$2);t::@2$2=@1$2/7.6;%.2f
--8<---------------cut here---------------end--------------->8---
Now, with current master, the "bill" table returns:
--8<---------------cut here---------------start------------->8---
| Total of worked hours | 0.00 | hours |
| Total of worked days (in days of 7:36) | 0.00 | days |
#+TBLFM: @1$2=remote(prestasTotal,@2$2);t::@2$2=@1$2/7.6;%.2f
--8<---------------cut here---------------end--------------->8---
I don't know (yet -- lack of time) if it's possible that, by setting some vars
to non-default values, the above problem would disappear; but I would expect
the defaults to conserve the old behavior anyway, wouldn't I?
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2012-11-30 11:22 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-27 14:01 [PATCH] Separate clocksum format for durations >= 1 day Toby Cubitt
2012-11-05 9:14 ` Nicolas Goaziou
2012-11-05 10:25 ` Toby Cubitt
2012-11-05 10:47 ` Achim Gratz
2012-11-05 11:01 ` Toby Cubitt
2012-11-05 11:13 ` Achim Gratz
2012-11-05 12:10 ` Toby Cubitt
2012-11-05 12:20 ` Nicolas Goaziou
2012-11-05 12:55 ` Toby Cubitt
2012-11-05 13:14 ` Nicolas Goaziou
2012-11-05 17:40 ` Achim Gratz
2012-11-05 18:16 ` Toby Cubitt
2012-11-05 22:45 ` Nicolas Goaziou
2012-11-06 10:35 ` Toby Cubitt
2012-11-06 10:57 ` Nicolas Goaziou
2012-11-06 12:01 ` Toby Cubitt
2012-11-06 12:29 ` Nicolas Goaziou
2012-11-06 13:04 ` Toby Cubitt
2012-11-06 17:41 ` Nicolas Goaziou
2012-11-06 19:26 ` Toby Cubitt
2012-11-06 19:55 ` Nicolas Goaziou
2012-11-06 20:35 ` Toby Cubitt
2012-11-08 0:26 ` Nicolas Goaziou
2012-11-08 11:28 ` Toby Cubitt
2012-11-09 8:04 ` Nicolas Goaziou
2012-11-13 13:03 ` Toby Cubitt
2012-11-14 15:04 ` Nicolas Goaziou
2012-11-14 15:37 ` Toby Cubitt
2012-11-14 16:09 ` Nicolas Goaziou
2012-11-14 16:20 ` Toby Cubitt
2012-11-16 15:12 ` Toby Cubitt
2012-11-17 8:48 ` Nicolas Goaziou
2012-11-17 14:00 ` Toby Cubitt
2012-11-17 14:42 ` Nicolas Goaziou
2012-11-17 16:02 ` Toby Cubitt
2012-11-20 16:12 ` Mike McLean
2012-11-20 17:28 ` Toby Cubitt
2012-11-20 19:24 ` Nicolas Goaziou
2012-11-21 23:29 ` Mike McLean
2012-11-30 11:22 ` Sebastien Vauban [this message]
2012-11-06 18:42 ` Achim Gratz
2012-11-06 20:10 ` Toby Cubitt
2012-11-06 20:49 ` Achim Gratz
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=80sj7ruygz.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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).