Skip to main content

normalize_date_arg

Function normalize_date_arg 

Source
pub fn normalize_date_arg(s: &str) -> Option<String>
Expand description

Normalize a user date arg (YYYYMMDD or YYYY-MM-DD) to YYYY-MM-DD.