Org-agenda-log-mode does not display time for certain states

What happened?

The states [ ] , [-] and [X] from the org-todo-keywords don’t appear with a time in the agenda using org-agenda-log-mode

Example

Tuesday    25 October 2022
  inbox:      10:00 ┄┄┄┄┄ State:     (DONE) DONE Test1 TODO -> DONE
  inbox:      State:     ([X]) [X] Test2 [ ] -> [X]

The headline with Test2 is displayed without the time. Both headlines have a LOGBOOK drawer that does look the same.

* DONE Test1 TODO -> DONE
:LOGBOOK:
- State "DONE"       from "TODO"       [2022-10-25 Tue 10:00]
:END

* [X] Test2 [ ] -> [X]
:LOGBOOK:
- State "[X]"        from "[ ]"        [2022-10-25 Tue 10:00]
:END

Further it seems like all todo keywords that start with [ and end with ] are not displayed with the corresponding time but below the time-grid with State: in front like seen above.

I believe I tracked down the function that generates the State: entries (https://github.com/emacs-mirror/emacs/blob/9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3/lisp/org/org-agenda.el#L5943) but I am not really able to understand the function and what is causing this behavior as I am fairly new to emacs/elisp

Is there someway to show the tasks with the checkbox style todo keywords with time?

Is this a bug or a feature that I can configure?

What did you expect to happen?

The headline with “Test2” should also appear with a time like Test1.

Steps to reproduce

  1. Insert the headings from above into an org-agenda-file
  2. Open the org-agenda with log-mode or enable log-mode

System information


Loading data dump...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.