Documentation
¶
Overview ¶
Package dates mines calendar dates out of filenames, so camera and screenshot names can drive date-based destinations when embedded metadata is missing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFilename ¶
FromFilename returns the first date found scanning the filename stem left to right. Matches must be bounded by non-digits (or the stem ends) so phone numbers and long identifiers cannot produce an 8-digit pseudo-date, and only years from 1990 to 2100 with a valid month and day are accepted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.