pub fn validate_date(date: &str) -> Result<()>
Validates a date string in YYYY-MM-DD format.
YYYY-MM-DD