pub fn date_format( format: &'static str, ) -> impl Fn(&str, &Value) -> Result<(), String> + Send + Sync + Clone
Validator: date must match format