Skip to content

Fix dynamic recurrence handling#2066

Open
chmac wants to merge 1 commit into
callumalpass:mainfrom
chmac:2064-recurrence-fixes
Open

Fix dynamic recurrence handling#2066
chmac wants to merge 1 commit into
callumalpass:mainfrom
chmac:2064-recurrence-fixes

Conversation

@chmac

@chmac chmac commented Jun 22, 2026

Copy link
Copy Markdown

I believe this fixes #2064.

The changes are supposed to:

  • Keep due dates relative to DTSTART dates and not scheduled dates
  • Handle scheduled dates in the future
  • Handle scheduled dates in the future but before the next instance date

In my tests, this addresses the issues I've faced, and I've deployed it in my own vault. But it was all written by Claude, and only code reviewed by me, so I'm not 100% sure if it makes sense as it is.

It also adds some weirdness like setting a param today to a value which is not today at all. But changing that was a bigger decision that I didn't feel capable of making.

- When scheduled dates are in the future
- When the scheduled date has changed from the recurrence date
- Keeps due date relative to the recurrence (DTSTART) date
- When scheduled dates are in the future but before the next recurrence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: DTSTART with future scheduled date breaks recurrence

1 participant