emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: org-todo-yesterday logs wrong date
@ 2011-10-18 23:17 Viktor Rosenfeld
  2011-11-07 11:29 ` Geert Kloosterman
  0 siblings, 1 reply; 5+ messages in thread
From: Viktor Rosenfeld @ 2011-10-18 23:17 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

org-todo-yesterday and org-agenda-todo-yesterday log a note using the
current timestamp and not a timestamp of 23:59 of yesterday's date.

I'm using Org-Mode 7.7 pulled today from the git repository.

Cheers,
Viktor

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: org-todo-yesterday logs wrong date
  2011-10-18 23:17 BUG: org-todo-yesterday logs wrong date Viktor Rosenfeld
@ 2011-11-07 11:29 ` Geert Kloosterman
  2011-11-09  2:22   ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Kloosterman @ 2011-11-07 11:29 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Hi all,

On Wed, Oct 19, 2011 at 1:17 AM, Viktor Rosenfeld <listuser36@googlemail.com
> wrote:

>
> org-todo-yesterday and org-agenda-todo-yesterday log a note using the
> current timestamp and not a timestamp of 23:59 of yesterday's date.
>
> I'm using Org-Mode 7.7 pulled today from the git repository.
>
>
I'm experiencing the same problem with the org-mode version I pulled from
git today.

Switching back to the 7.7 tarball fixes the problem.

Best regards,
Geert Kloosterman

[-- Attachment #2: Type: text/html, Size: 782 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: org-todo-yesterday logs wrong date
  2011-11-07 11:29 ` Geert Kloosterman
@ 2011-11-09  2:22   ` Bernt Hansen
  2011-11-11 23:55     ` Viktor Rosenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2011-11-09  2:22 UTC (permalink / raw)
  To: Geert Kloosterman, John Wiegley; +Cc: emacs-orgmode

Geert Kloosterman <g.j.kloosterman@gmail.com> writes:

> Hi all,
>
> On Wed, Oct 19, 2011 at 1:17 AM, Viktor Rosenfeld <
> listuser36@googlemail.com> wrote:
>
>    
>     org-todo-yesterday and org-agenda-todo-yesterday log a note using
>     the
>     current timestamp and not a timestamp of 23:59 of yesterday's
>     date.
>    
>     I'm using Org-Mode 7.7 pulled today from the git repository.
>    
>
>
> I'm experiencing the same problem with the org-mode version I pulled
> from git today. 
>
> Switching back to the 7.7 tarball fixes the problem.
>
> Best regards,
> Geert Kloosterman
>  

Git bisect identifies the following commit as the source of this
problem.

7d2d8f884b2e22e3056553ea68858fe4fc674427 is the first bad commit
commit 7d2d8f884b2e22e3056553ea68858fe4fc674427
Author: John Wiegley <johnw@newartisans.com>
Date:   Sat Aug 13 03:21:49 2011 -0500

    Add customization variable `org-use-effective-time'
    
    If non-nil, consider `org-extend-today-until' when creating timestamps.
    For example, if `org-extend-today-until' is 8, and it's 4am, then the
    "effective time" of any timestamps between midnight and 8am will be
    23:59 of the previous day.

:040000 040000 a33f65040163763ed06996b9ffc18bcfc5884457 0782571b08e0a128fa3b072b8b8edf177c001ca3 M	lisp

Regards,
Bernt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: org-todo-yesterday logs wrong date
  2011-11-09  2:22   ` Bernt Hansen
@ 2011-11-11 23:55     ` Viktor Rosenfeld
  2012-04-03  7:58       ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Viktor Rosenfeld @ 2011-11-11 23:55 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: John Wiegley, emacs-orgmode

Hi Bernt,

Bernt Hansen wrote:

> Geert Kloosterman <g.j.kloosterman@gmail.com> writes:
> 
> > Hi all,
> >
> > On Wed, Oct 19, 2011 at 1:17 AM, Viktor Rosenfeld <
> > listuser36@googlemail.com> wrote:
> >
> >    
> >     org-todo-yesterday and org-agenda-todo-yesterday log a note using
> >     the
> >     current timestamp and not a timestamp of 23:59 of yesterday's
> >     date.
> >    
> >     I'm using Org-Mode 7.7 pulled today from the git repository.
> >    
> >
> >
> > I'm experiencing the same problem with the org-mode version I pulled
> > from git today. 
> >
> > Switching back to the 7.7 tarball fixes the problem.
> >
> > Best regards,
> > Geert Kloosterman
> >  
> 
> Git bisect identifies the following commit as the source of this
> problem.
> 
> 7d2d8f884b2e22e3056553ea68858fe4fc674427 is the first bad commit
> commit 7d2d8f884b2e22e3056553ea68858fe4fc674427
> Author: John Wiegley <johnw@newartisans.com>
> Date:   Sat Aug 13 03:21:49 2011 -0500
> 
>     Add customization variable `org-use-effective-time'
>     
>     If non-nil, consider `org-extend-today-until' when creating timestamps.
>     For example, if `org-extend-today-until' is 8, and it's 4am, then the
>     "effective time" of any timestamps between midnight and 8am will be
>     23:59 of the previous day.
> 
> :040000 040000 a33f65040163763ed06996b9ffc18bcfc5884457 0782571b08e0a128fa3b072b8b8edf177c001ca3 M	lisp
> 
> Regards,
> Bernt

Thanks for the info. Setting org-use-effective-time to 1 fixes the
problem, even if org-extend-today-until is zero. I'm curious though why
its type is integer and not boolean.

Thanks again,
Viktor
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: org-todo-yesterday logs wrong date
  2011-11-11 23:55     ` Viktor Rosenfeld
@ 2012-04-03  7:58       ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2012-04-03  7:58 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: John Wiegley, emacs-orgmode

Viktor Rosenfeld <listuser36@googlemail.com> writes:

> I'm curious though why its type is integer and not boolean.

This was a mistake, fixed now.

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-03  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 23:17 BUG: org-todo-yesterday logs wrong date Viktor Rosenfeld
2011-11-07 11:29 ` Geert Kloosterman
2011-11-09  2:22   ` Bernt Hansen
2011-11-11 23:55     ` Viktor Rosenfeld
2012-04-03  7:58       ` Bastien

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).