Fixed-calendar Tasks #107

Open
opened 2026-11-27 16:43:41 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

A Task can follow a fixed calendar: a restricted RRULE (FREQ, INTERVAL, BYMONTH, BYMONTHDAY, BYDAY with ordinals, BYSETPOS only; no COUNT or UNTIL) plus a start date, evaluated with dateutil.rrule. The first due date is the rule's next occurrence.

Acceptance criteria

  • A rule using an unsupported part is rejected with a problem naming it
  • due_on is the next occurrence; tests cover "first Saturday of the month", "every 6 months", and month-end days
  • Fixed Tasks honour lead_days, snooze, and archive like floating ones
Part of #73 (spec: #72) ## What to build A Task can follow a fixed calendar: a restricted RRULE (`FREQ`, `INTERVAL`, `BYMONTH`, `BYMONTHDAY`, `BYDAY` with ordinals, `BYSETPOS` only; no `COUNT` or `UNTIL`) plus a start date, evaluated with `dateutil.rrule`. The first due date is the rule's next occurrence. ## Acceptance criteria - [ ] A rule using an unsupported part is rejected with a problem naming it - [ ] `due_on` is the next occurrence; tests cover "first Saturday of the month", "every 6 months", and month-end days - [ ] Fixed Tasks honour `lead_days`, snooze, and archive like floating ones
bobby added the ready-for-agent label 2026-11-27 16:43:41 -05:00
bobby added a new dependency 2026-11-27 16:43:42 -05:00
bobby added a new dependency 2026-11-27 16:44:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#107