emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: George Kontsevich <geokon@qq.com>
To: emacs-orgmode@gnu.org
Subject: 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: Fri, 26 Apr 2019 15:46:29 +0800	[thread overview]
Message-ID: <29912.4613333092$1556449042@news.gmane.org> (raw)

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

             reply	other threads:[~2019-04-26  7:58 UTC|newest]

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

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='29912.4613333092$1556449042@news.gmane.org' \
    --to=geokon@qq.com \
    --cc=emacs-orgmode@gnu.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).