Subject: | An option to set time to 0hrs if the string to parse includes only a date |
I'd like an option to set the time part of the DateTime time to 0hrs
if the string to parse includes only a date or ignore times altogether.
Ex:
$parser = DateTime::Format::Natural->new(
date_only => 1,
);
Would this be difficult?
Again I'm willing to patch if there's a public repo.