From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Kontsevich 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 Message-ID: <29912.4613333092$1556449042@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJvkv-00076T-Su for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 03:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJvZ9-0007cF-FX for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 03:46:40 -0400 Received: from smtpproxy19.qq.com ([184.105.206.84]:42461) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJvZ8-0007b6-F7 for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 03:46:39 -0400 Received: from [192.168.0.97] (unknown [125.70.170.141]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Fri, 26 Apr 2019 15:46:29 +0800 (CST) Content-Language: en-US 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@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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/)