emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: George Kontsevich <geokon@qq.com>
Cc: emacs-orgmode@gnu.org
Subject: 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/)]
Date: Sun, 28 Apr 2019 21:24:13 +0200	[thread overview]
Message-ID: <87zhoaexwi.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <5c12abdf-2fbf-8dd1-b1bf-90a74dd89294@qq.com>+37D410353903B084 (George Kontsevich's message of "Fri, 26 Apr 2019 15:46:29 +0800")

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

  reply	other threads:[~2019-04-28 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-04-26  7:46 George Kontsevich

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=87zhoaexwi.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=geokon@qq.com \
    /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).