Skip to content

docs(series): correct the split-day guard comment about its look-ahead window #223

Backlog

Description

@mwg-bender

This was generated by AI during triage.

Observation

The review follow-up on PR #214 notes that the comment on SeriesFunctions.cs near line 237 says the check covers “every rule instant from that day to the end”, while OccurrenceGenerator.Generate only generates through its configured look-ahead window. The report says the Count > 0 check remains correct because the generator returns the first eligible instant when one exists; the comment overstates the examined range.

Please confirm the current code and narrow the comment so it describes the actual generation window. This is a documentation/comment correction only; no behavior change is proposed.

Evidence: PR #214, issue comment 7152790020, item 5 (N5). Nerd has not independently verified the code path. Keep this follow-up separate from PR #214 unless separately authorized.

Activity

  1. added
    bug
    needs-triage
    on Nov 25, 2026
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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions