Skip to content

Cleared date property values still appear as linked references for past dates #1282

Closed
logseq/logseq
#13417

Description

@jhjhree

Search first

  • I searched and no similar issues were found

What Happened?

When a date type property references a past date, the linked reference to that date remains even after the property value is cleared.

However, for today's date, the linked reference is removed immediately when the property value is cleared.

The ability to clear a date property value was introduced in PR #13337.

Reproduce the Bug

  1. In today's journal, create a block with the #task tag.
  2. Set its Deadline property to yesterday's date.
  3. Clear the Deadline property value.
  4. Open yesterday's journal page.

Expected Behavior

The linked reference should be removed when the date property value is cleared, regardless of whether the referenced date is today or a past date.

Screenshots

Image

Files

No response

Browser, Desktop or Mobile Platform Information

windows 11
logseq 2.0.1-alpha+nightly.20260923

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions