Skip to main content

normalize_dow

Function normalize_dow 

Source
pub fn normalize_dow(expression: &str) -> String
Expand description

Normalize day-of-week field: standard cron allows 0 for Sunday, but the cron crate only accepts 1-7 (1=Mon, 7=Sun). Replace standalone 0 with 7.