GNU bug report logs - #24791
org-todo-yesterday behaves like plain org-todo (incorrect timestamp)

Previous Next

Package: org-mode;

Reported by: Jan Böhm <schmuufanpost <at> gmx.de>

Date: Tue, 25 Oct 2016 15:38:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Allen Li <vianchielfaura <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 24791 <at> debbugs.gnu.org, Jan Böhm <schmuufanpost <at> gmx.de>
Subject: bug#24791: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp)
Date: Fri, 1 Dec 2017 20:00:11 -0800
On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:
> Hello,
>
> Jan Böhm <schmuufanpost <at> gmx.de> 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"
>> ⇒ todo state is set to DONE correctly, but the timestamp inserted 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.




This bug report was last modified 7 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.