time::format_description::parse::strftime

Function parse_strftime_owned

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

Parse a sequence of items from the strftime format description.

This requires heap allocation for some owned items.