pub fn dirpath(frmptr: &str) -> String
Expands date format placeholders (%y, %m, %d, etc.) in a path template.
%y
%m
%d