time::format_description

Function parse_strftime_owned

Source
pub fn parse_strftime_owned(
    s: &str,
) -> Result<OwnedFormatItem, InvalidFormatDescription>
Available on crate feature alloc and (crate features formatting or parsing) only.
Expand description

Parse a sequence of items from the strftime format description.

This requires heap allocation for some owned items.