Subject: | prefer_future related suggestion |
I checked for this in both the normal and the developer release.
What would be awesome is support for having DTFN push the time by a day
if, for instance, it was 5pm and you specify 3pm, without specifying
any other day.
A specific scenario:
DateTime->now; # 2/14/09 at 3pm
# I would like this to result in 2/15/08 at 7am instead of
# 7am on the same day (which is in the past)
DateTime::Format::Natural
->new(prefer_future => 1)
->parse_datetime("7am");
If it can be done, I greatly appreciate it.
Best,
Jason