feat: shift recurring event date if lands on weekends
This commit is contained in:
parent
f7558c0eb5
commit
fb0cfb5a45
8 changed files with 191 additions and 66 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue