pub fn rollover_if_new_day(state: &mut ChoresState, today: &str) -> boolExpand description
Reset state to an empty list if today differs from its stored date.
Returns true iff a rollover happened (so the caller can decide whether
to persist).
pub fn rollover_if_new_day(state: &mut ChoresState, today: &str) -> boolReset state to an empty list if today differs from its stored date.
Returns true iff a rollover happened (so the caller can decide whether
to persist).