Skip to main content

parse_date_parts

Function parse_date_parts 

Source
pub fn parse_date_parts(input: &str) -> Result<DateParts, DateParseError>
Expand description

Parse a common bibliography date shape into parts.

Supported input shapes are YYYY, YYYY-MM, and YYYY-MM-DD. Month names and BibTeX month abbreviations are accepted by entry helpers when a separate month field is combined with a year field.