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: Thu, 7 Dec 2017 16:51:07 -0800 Message-ID: References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> <87vahm6z8g.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]:45225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN6ta-0003ck-Nw for emacs-orgmode@gnu.org; Thu, 07 Dec 2017 19:52:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN6tW-00048M-Cs for emacs-orgmode@gnu.org; Thu, 07 Dec 2017 19:52:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eN6tW-000489-79 for emacs-orgmode@gnu.org; Thu, 07 Dec 2017 19:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eN6tV-0003LG-RS for emacs-orgmode@gnu.org; Thu, 07 Dec 2017 19:52:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87vahm6z8g.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 Mon, Dec 4, 2017 at 11:59 AM, Nicolas Goaziou w= rote: > 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 previo= us >>>> 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 inser= ted 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? I can confirm that it's fixed on 9.1.4 (org-plus-contrib-20171205)