chrono::format

Function format_item

source
pub fn format_item(
    w: &mut Formatter<'_>,
    date: Option<&NaiveDate>,
    time: Option<&NaiveTime>,
    off: Option<&(String, FixedOffset)>,
    item: &Item<'_>,
) -> Result
👎Deprecated since 0.4.32: Use DelayedFormat::fmt instead
Expand description

Formats single formatting item