From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Multiple notions for what's a day Date: Mon, 31 Dec 2012 11:25:32 +0100 Message-ID: <80pq1qleb8.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, For 6 weeks now, since the commit a00a7b2 of Toby, things have changed when generating clock tables. For example, instead of getting this (for some sam= ple files I have): | File | Headline | Time | |-------+----------------+-------| | | ALL Total time | 30:19 | |-------+----------------+-------| | A.org | File time | 2:59 | |-------+----------------+-------| | B.org | File time | 2:30 | |-------+----------------+-------| | C.org | File time | 24:50 | (edited for the sake of simplicity) we do have, as of today: | File | Headline | Time | |-------+----------------+---------| | | ALL Total time | 1d 6:19 | |-------+----------------+---------| | A.org | File time | 2:59 | |-------+----------------+---------| | B.org | File time | 2:30 | |-------+----------------+---------| | C.org | File time | 1d 0:50 | That is, the presentation *default* has changed: it now displays big amounts of hours in days (of 24 hours). I don't welcome the change of the default as such -- as that could impact computations made on those figures; OK, that's not such a big deal --, but I clearly like the ability to generate such formats, much more readable. However, there is now a problem of interpretation for the value of "days"; until now, a day was valued as "8 hours"... see `org-effort-durations': =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 Its value is (("h" . 60) =E2=94=82 ("d" . 480) --> 8 hours a day =E2=94=82 ("w" . 2400) --> 40 hours a week =E2=94=82 ("m" . 9600) =E2=94=82 ("y" . 96000)) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 In the current situation, you'd express days of 8 hours for the Effort property, but be presented with days of 24 hours for clocking display. Weir= d, no? I guess that the clock tables should use the values defined in `org-effort-durations' for their display. Or, at least, any other solution where a day has the same value when used for clock estimates and for clock reports... Just wanted to show a problem, and start a discussion on what should be done... Best regards, Seb --=20 Sebastien Vauban