pub fn format_date(date: &NaiveDate) -> String
Format a NaiveDate into a string
date
Returns a formatted date string in YYYY-MM-DD format