You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Number of tasks in calendar not same amout as tasks calendar #311
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
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.
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!
Activity
fix(tasks): count @waiting tasks in the sidebar calendar too (#311)
adibhanna commentedon Jul 2, 2026
Fixed on the
release/v2.10.0branch (f63787e) — thanks @npodoscope!Root cause: #236 taught the Tasks calendar (
bucketTasksByDueDate) to keep@waitingtasks on their due date, but its siblingtasksDueOn— which the sidebar calendar uses — still filtered@waitingout. So the two views disagreed by exactly the waiting tasks, which is the off-by-one you spotted.Fix:
tasksDueOnnow drops only done (checked) tasks, keeping@waiting— matchingbucketTasksByDueDate. A@waitingtask with a due date now shows in both calendars and their per-day counts agree. (Overdue styling is unchanged — a deferred@waitingtask 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!
Fix(tasks): keep cancelled tasks out of the calendar views (ZenNotes#476