Skip to content

Bug: Number of tasks in calendar not same amout as tasks calendar #311

Closed

Description

@npodoscope

When a task is @waiting it does not show up in the general calendar view, but does show up in the tasks calendar view.
It is showing up when I use a generic @foo

Image Image

As you can see in the images, calendar view is reporting 1 less task for today than the tasks calendar is.

related to #236, but not the same. #236 was about the Task calendar view not showing these @waiting tasks, this one is specifically about the general calendar view not showing them as well.

Version 2.9.0

Activity

  1. added a commit that references this issue on Jul 2, 2026
  2. adibhanna commented on Jul 2, 2026

    @adibhanna
    Contributor

    Fixed on the release/v2.10.0 branch (f63787e) — thanks @npodoscope!

    Root cause: #236 taught the Tasks calendar (bucketTasksByDueDate) to keep @waiting tasks on their due date, but its sibling tasksDueOn — which the sidebar calendar uses — still filtered @waiting out. So the two views disagreed by exactly the waiting tasks, which is the off-by-one you spotted.

    Fix: tasksDueOn now drops only done (checked) tasks, keeping @waiting — matching bucketTasksByDueDate. A @waiting task with a due date now shows in both calendars and their per-day counts agree. (Overdue styling is unchanged — a deferred @waiting task appears on its date but isn't flagged overdue, same as the Tasks calendar.)

    Ships in v2.10.0. Thanks for the precise report — the #236 cross-reference made this quick to pin down!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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