Skip to main content

format_date

Function format_date 

Source
pub fn format_date(
    pattern: &str,
    (year, month, day): (i64, i64, i64),
    name: &dyn Fn(&str) -> String,
) -> String
Expand description

Write a date with a checked pattern; name(key) is a framework text.