date_formatter

Function format_date

Source
pub fn format_date(date: NaiveDate, format: &str) -> String
Expand description

将日期格式化为指定的字符串格式。