Skip to content

"CLOSED" not added when marking a headline as done #286

@seibs

Description

@seibs

Describe the bug

If a headline does not already have a "SCHEDULED" or "DEADLINE" entry, "CLOSED" will not be added when marking a headline as done when org_log_done == 'time'.

Steps to reproduce

Doing cit on the first headline below will mark it as done but not add "CLOSED", on the second headline it will mark it as done and append a "CLOSED" entry.

* TODO not working

* TODO working
  SCHEDULED: <2022-05-09 Mon>

Expected behavior

When org_log_done == 'time', a "CLOSED" entry should be added when marking the headline as done.

Emacs functionality

No response

Minimal init.lua

This reproduces with minimal_init.lua.

Screenshots and recordings

No response

OS / Distro

macOS 12.0.1

Neovim version/commit

0.7.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions