Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Chronic (Ruby Date / Time Parser) Screencast

By Peter Cooper / October 11, 2006

Chronicsc

Tom Preston-Werner demonstrates his Chronic "natural date parsing" library for Ruby in this cool, live presentation / screencast. He goes deep into how the library works and how it parses the natural language inputs.

Comments

  1. taco says:

    Would be schweet if you could do business days:

    Chronic.parse("5 business days from now")
    or
    Chronic.parse("3 weekdays from tuesday")

    Is a great library. Thx!

  2. Kevin Olbrich says:

    The latest version of 'ruby-units' will also use 'chronic' to parse dates and times, so you can do stuff like..

    '7 days'.from 'next tuesday'

Other Posts to Enjoy

Twitter Mentions