pub fn before_naive_date<S: Into<String>>(input: S) -> Result<NaiveDate>