From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#24791: bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) Date: Mon, 04 Dec 2017 20:59:27 +0100 Message-ID: <87vahm6z8g.fsf@nicolasgoaziou.fr> References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLwuO-0003sG-RG for emacs-orgmode@gnu.org; Mon, 04 Dec 2017 15:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLwuJ-0007Ua-C8 for emacs-orgmode@gnu.org; Mon, 04 Dec 2017 15:00:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37252) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLwuJ-0007UO-8P for emacs-orgmode@gnu.org; Mon, 04 Dec 2017 15:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLwuI-0005Qi-QM for emacs-orgmode@gnu.org; Mon, 04 Dec 2017 15:00:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Allen Li's message of "Fri, 1 Dec 2017 20:00:11 -0800") 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: Allen Li Cc: 24791@debbugs.gnu.org, Jan =?UTF-8?Q?B=C3=B6hm?= Hello, Allen Li writes: > On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou = wrote: >> Hello, >> >> Jan B=C3=B6hm writes: >> >>> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave >>> just like normally setting todo state to "DONE" with org-todo. >>> Specifically, the timestamp >>> added in the log takes the current time instead of 23:59 of the previous >>> day, as would be expected. >>> >>> Replicate behaviour: >>> start emacs -Q >>> set org-log-done to "time" >>> visit new file and switch to org mode >>> create TODO headline and set TODO state to "DONE" by calling >>> "org-todo-yesterday" >>> =E2=87=92 todo state is set to DONE correctly, but the timestamp insert= ed in >>> the log drawer is the current time. >> >> I cannot reproduce it in a recent Org release. Could you double-check >> with a newer Org? > > I am going to blindly wager that this is yet another bug caused by Org > mode's subtle timezone issues. > > I can reproduce it (and crucially, I am not in the GMT time zone), > although the repro recipe produces a CLOSED timestamp and not a log > drawer timestamp. I removed timezone references from maint. Can you still reproduce the issue? Regards, --=20 Nicolas Goaziou 0x80A93738