Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jk2addict (4946)

jk2addict
  (email not shown publicly)
http://today.icantfocus.com/blog/
AOL IM: chrislaco (Add Buddy, Send Message)
Yahoo! ID: chrislaco@sbcglobal.net (Add User, Send Message)
Jabber: laco@scribblewerks.com

Journal of jk2addict (4946)

Friday December 28, 2007
08:51 AM

Spicebird and DateTime::Format::Natural

[ #35226 ]

I love DateTime::Format::Natural. The number of ways to talk about a date and try and parse that talk intrigues me.

I was watching the Spicebird preview this morning and saw something I liked.

An email had the text "Can we have a meeting at 12:30 tomorrow?". And the email message window header had "Would you [like to] schedule a Calendar event for: meeting: tomorrow, 12:00?"

Then I immediately looked at DT::F::Natural again, wishing it had a @matches = $dtfn->matches($message) that returned a list of discovered dates in a heap of text.

I supposed someone already has done that in another module, but I couldn't find one easily.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.