Skip Menu |

This queue is for tickets about the DateTime-Format-Natural CPAN distribution.

Report information
The Basics
Id: 92189
Status: new
Priority: 0/
Queue: DateTime-Format-Natural

Owner: Nobody in particular
Requestors: rjbs [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: prefer the future even harder with prefer_future
Download (untitled) / with headers
text/plain 248b
It's 23:00 here. I asked for midnight, and it gave me the one 23 hours ago. I asked for "morning" and it gave me this past morning. I'd like a way for both of those to be in the future, as I'm always going to reject parses in the past. -- rjbs
Download (untitled) / with headers
text/plain 362b
I had a look at the patch you provided for this, and it seemed good, except that it didn't affect midnight. ~/Desktop/DateTime-Format-Natural$ perl -I lib scripts/dateparse -t America/New_York -p Show quoted text
dateparse> midnight
2015-08-12 00:00:00 Show quoted text
dateparse> now
2015-08-12 00:51:51 If it's 00:50 now, midnight should be in about 23 hours, preferring the future. -- rjbs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to