Skip to main content

file_name_date

Function file_name_date 

Source
pub fn file_name_date(name: &str) -> Option<NaiveDate>
Expand description

A date in a file name: eight digits (20140712) or year, month and day split by -, _ or . (2014-07-12), not part of a longer number; or a Unix timestamp in milliseconds or seconds (1405171391000), as Facebook and some messengers name files.