Spicebird and DateTime::Format::Natural

jk2addict on 2007-12-28T13:51:39

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.