Skip to content

docs: clarify weekday interval restrictions - #668

Open
Hugohong258 wants to merge 1 commit into
dbader:masterfrom
Hugohong258:docs-weekday-interval-limit
Open

Hugohong258 wants to merge 1 commit into
dbader:masterfrom
Hugohong258:docs-weekday-interval-limit

Conversation

@Hugohong258

Copy link
Copy Markdown

The neighboring examples for every(3).weeks and weekday selection can suggest that these forms can be combined. Clarify that weekday properties such as .monday require a one-week interval and raise IntervalError with larger intervals. Show the supported two-week form and explain that its first run is two weeks after registration.

Related to #556 and #613. This documents the existing restriction; it does not add biweekly weekday selection.

Validation: 17 checks against the current source cover two-week scheduling, all seven weekdays with two- and three-week intervals, and ordinary weekly scheduling. The Sphinx HTML build passes with warnings treated as errors. The full test_schedule.py suite cannot collect on Windows because its existing module-level time.tzset() call is unavailable; no runtime or test files are changed.

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.

1 participant