From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: bug#24791: bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) Date: Fri, 1 Dec 2017 20:00:11 -0800 Message-ID: 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]:42945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKyzB-0000sx-IO for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 23:01:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKyz8-0005gy-CF for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 23:01:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKyz8-0005go-9T for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 23:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKyz8-0001B5-0L for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 23:01:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878temdsig.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: 24791@debbugs.gnu.org, Jan =?UTF-8?Q?B=C3=B6hm?= On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou wr= ote: > 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 inserte= d 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.