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
Available on crate feature alloc only.
Expand description

Formats single formatting item