emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Clock/Time summaries don't work across years [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]
@ 2019-04-26  7:46 George Kontsevich
  2019-04-28 19:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: George Kontsevich @ 2019-04-26  7:46 UTC (permalink / raw)
  To: emacs-orgmode

There is a rather serious bug with the Clocking feature in Org-mode

If you have a Org section that looks like this

* Test
   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
  hello
   CLOCK: [2019-01-02 Tue 10:06]--[2019-01-02 Tue 11:06] =>  1:00
  hi


And then you hit C-c C-x C-d you will get a clock total of two hour. If
you change one of them to be a different year - for instance:


* Test
   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
  hello
   CLOCK: [2018-12-11 Tue 15:10]--[2018-12-11 Tue 16:45] =>  1:35
  hi


Then the total shows up at just one hour!

Fortunately I noticed this bug before I submitted incorrect timesheet
totals to my employer :)

George

Emacs  : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.7)
  of 2019-04-11, modified by Debian
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ 
/usr/share/emacs/26.1/lisp/org/)

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

* Bug: Clock/Time summaries don't work across years [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]
@ 2019-04-26  7:46 George Kontsevich
  0 siblings, 0 replies; 3+ messages in thread
From: George Kontsevich @ 2019-04-26  7:46 UTC (permalink / raw)
  To: emacs-orgmode

There is a rather serious bug with the Clocking feature in Org-mode

If you have a Org section that looks like this

* Test
   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
  hello
   CLOCK: [2019-01-02 Tue 10:06]--[2019-01-02 Tue 11:06] =>  1:00
  hi


And then you hit C-c C-x C-d you will get a clock total of two hour. If
you change one of them to be a different year - for instance:


* Test
   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
  hello
   CLOCK: [2018-12-11 Tue 15:10]--[2018-12-11 Tue 16:45] =>  1:35
  hi


Then the total shows up at just one hour!

Fortunately I noticed this bug before I submitted incorrect timesheet
totals to my employer :)

George

Emacs  : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.7)
  of 2019-04-11, modified by Debian
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ 
/usr/share/emacs/26.1/lisp/org/)

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

* Re: Bug: Clock/Time summaries don't work across years [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]
  2019-04-26  7:46 Bug: Clock/Time summaries don't work across years [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] George Kontsevich
@ 2019-04-28 19:24 ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-04-28 19:24 UTC (permalink / raw)
  To: George Kontsevich; +Cc: emacs-orgmode

Hello,

George Kontsevich <geokon@qq.com> writes:

> There is a rather serious bug with the Clocking feature in Org-mode
>
> If you have a Org section that looks like this
>
> * Test
>   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
>  hello
>   CLOCK: [2019-01-02 Tue 10:06]--[2019-01-02 Tue 11:06] =>  1:00
>  hi
>
>
> And then you hit C-c C-x C-d you will get a clock total of two hour. If
> you change one of them to be a different year - for instance:
>
>
> * Test
>   CLOCK: [2019-01-02 Wed 10:06]--[2019-01-02 Wed 11:06] =>  1:00
>  hello
>   CLOCK: [2018-12-11 Tue 15:10]--[2018-12-11 Tue 16:45] =>  1:35
>  hi
>
>
> Then the total shows up at just one hour!
>
> Fortunately I noticed this bug before I submitted incorrect timesheet
> totals to my employer :)

See `org-clock-display-default-range'.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2019-04-28 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-26  7:46 Bug: Clock/Time summaries don't work across years [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] George Kontsevich
2019-04-28 19:24 ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2019-04-26  7:46 George Kontsevich

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