Function yz_diary_date::parse_from_path[][src]

pub fn parse_from_path(x: &Path) -> Option<NaiveDate>
Expand description

tries to parse a diary entry path to extract the reference date should be usually given a path containing at least 2 components