From: Nick Sieger Date: 2007-01-03T04:04:02+09:00 Subject: Re: Detecting holidays ------=_Part_114168_11517936.1167764639585 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/2/07, Mat Schaffer wrote: > > > For those sort of holidays you could use the Chronic gem to parse a > textual date: > > irb(main):010:0> Chronic.parse('4th thursday in november') > => Thu Nov 22 11:00:00 -0500 2007 > > Still kind of a shame there isn't just a 'holidays' gem. Emacs has a really robust holidays library that's not too lengthy, perhaps a good topic for a Ruby quiz or someone's spare time to just port it to Ruby? /Nick ------=_Part_114168_11517936.1167764639585--