emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carlo Tambuatco <oraclmaster@gmail.com>
To: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: BUG: Logging habits to LOGBOOK results in double entered time stamp.
Date: Wed, 9 Jun 2021 01:10:45 -0400	[thread overview]
Message-ID: <CAJb92Exj187rf3JVyuC7hNi8VvT6ubEq+6k3=z=GVr-ZQp-MyA@mail.gmail.com> (raw)

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

There seems to be a bug in Org mode version 9.4.6, (9.4.6-2-g21eb69-elpa
...),

For example, I have a TODO habit task like so:

TODO Some task
SCHEDULED: <2021-06-08 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-07 Mon 23:19]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END:

When I mark the task as DONE for the day, it logs the task as:

TODO Some task
SCHEDULED: <2021-06-09 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-08 Tue 22:20]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]  <-- Repeated
entry
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END:

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

             reply	other threads:[~2021-06-09  5:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09  5:10 Carlo Tambuatco [this message]
2021-06-14 17:21 ` BUG: Logging habits to LOGBOOK results in double entered time stamp Bhavin Gandhi
2021-06-14 17:41   ` Carlo Tambuatco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJb92Exj187rf3JVyuC7hNi8VvT6ubEq+6k3=z=GVr-ZQp-MyA@mail.gmail.com' \
    --to=oraclmaster@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).