feat: shift recurring event date if lands on weekends

This commit is contained in:
juancwu 2026-05-10 13:28:06 +00:00
commit fb0cfb5a45
8 changed files with 191 additions and 66 deletions

View file

@ -88,6 +88,8 @@ type RecurringEvent struct {
FireMinute int `db:"fire_minute"`
Timezone string `db:"timezone"`
BusinessDaysOnly bool `db:"business_days_only"`
NextRunAt time.Time `db:"next_run_at"`
LastRunAt *time.Time `db:"last_run_at"`
Paused bool `db:"paused"`