Skip to content

[Bug]: Recurring task instances are never rendered on the last day of the visible week (timeGridWeek) #2159

Description

@odxn0803

Bug Description

Environment

  • Obsidian 1.12.7 (Windows 11)
  • TaskNotes 4.11.0
  • View: Bases view with type: tasknotesCalendar, calendarView: timeGridWeek

Summary

In the calendar week view, recurring task instances are never rendered on the
last day of the displayed week. The affected day follows the column
position
, not the weekday:

  • firstDay: 1 (week starts Monday) → all Sunday instances are missing
  • firstDay: 0 (week starts Sunday) → all Saturday instances are missing

Steps to Reproduce

  1. Create two recurring tasks, one on Saturday and one on Sunday, for examble:

title: XY
status: To-Do
scheduled: 2026-07-18T11:00
recurrence: DTSTART:20260718T110000;FREQ=WEEKLY;INTERVAL=1;BYDAY=SA
recurrence_anchor: scheduled
timeEstimate: 90
tags:

  • task


title: XY
status: To-Do
scheduled: 2026-07-19T11:00
recurrence: DTSTART:20260719T110000;FREQ=WEEKLY;INTERVAL=1;BYDAY=SU
recurrence_anchor: scheduled
timeEstimate: 120
tags:

  • task

  1. Create a tasknotesCalendar view. To isolate the recurrence rendering path,
    disable everything else:

views:

  • type: tasknotesCalendar
    name: Test
    options:
    showScheduled: false
    showDue: false
    showRecurring: true
    showTimeEntries: false
    showTimeblocks: false
    showPropertyBasedEvents: false
    showICSEvents: false
    calendarView: timeGridWeek
    firstDay: 1

With showScheduled: false, anything rendered can only be a recurring instance.

  1. Navigate to any week after the anchor week.

TaskNotes Debug Info

SYSTEM INFO:
	Obsidian version: 1.12.7
	Installer version: 1.12.7
	Operating system: Windows 11 Pro 10.0.26200
	Login status: not logged in
	Language: de
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 3
	Plugins enabled: 3
		1: TaskNotes v4.11.1
		2: Templater v2.20.6
		3: QuickAdd v2.12.3

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Affected Task Frontmatter

Relevant Bases File Content

views:
  - type: tasknotesCalendar
    name: Test
    options:
      showScheduled: false
      showDue: false
      showRecurring: true
      showTimeEntries: false
      showTimeblocks: false
      showPropertyBasedEvents: false
      showICSEvents: false
      calendarView: timeGridWeek
      firstDay: 1

Relevant Settings or Customizations

No response

Console Errors or Logs


Screenshots or Screen Recording

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions