time::format_description::parse::format_item

Function component_from_ast

source
fn component_from_ast(
    name: &Spanned<&[u8]>,
    modifiers: &[Modifier<'_>],
) -> Result<Component, Error>
Expand description

Parse a component from the AST, given its name and modifiers.