Skip to main content

is_due

fn is_due(state: &CreditRegistrationPhaseState, now: DateTime<Utc>) -> bool
Expand description

A phase is due when an admin asked for it, or when its interval has elapsed since it last began.