pub fn parse_from_path(x: &Path) -> Option<NaiveDate>
tries to parse a diary entry path to extract the reference date should be usually given a path containing at least 2 components