Using /Users/simon/modules/Date-PeriodParser/blib
Using /Users/simon/modules/Date-PeriodParser/blib
% perl -Mblib -MDate::PeriodParser -le 'print scalar localtime $_ for parse_period("about lunchtime of the day before yesterday")'
Much more work to do on it, tho...
Fri Apr 12 10:00:00 2002
Fri Apr 12 15:30:00 2002
% perl -Mblib -MDate::PeriodParser -le 'print scalar localtime $_ for parse_period("sometime around ten days ago")'
Tue Apr 2 15:00:00 2002
Sat Apr 6 08:59:59 2002
You'll rock when it will do that in at least 10 different languages and a variety of calendars.
Oh, the ingratitude
Simon on 2002-04-14T16:39:57
I know you meant it in jest, but this is the sort of thing that I really hate about the Perl community, and that draws me away from it. So quick to cut people down. I'm guilty of it too, I know, but it really does suck.Re:Oh, the ingratitude
hfb on 2002-04-14T16:53:32
One with so sharp a tongue and so large an ego shouldn't be so sensitive...or should start remembering how it feels on the other side. And yes, I was kidding.
:)