The Chronic: A Ruby Time Library
So, I was trying to use Ruby to get the date 6 months ago. This is usually accomplished using the core extensions in ActiveSupport, which is OK, but it was too much work. Then, I found an awesome article talking about Chronic, a minimal date/time parsing library for Ruby: $ irb -rrubygems -rchronic irb(main):001:0> Chronic.parse(’6 months ago’) => 2010-03-25 21:10:10 -0400 Wow that’s like so awesome. I wonder what else it can do… irb(main):002:0> Chronic.parse(‘three days after memorial day’) => [...]

