From: Michal 'hramrach' Suchanek Date: 2004-10-29T18:39:35+09:00 Subject: Re: Mysterious Date Parsing Failures: NaN On Thu, Oct 28, 2004 at 08:09:09PM +0900, Zev Blut wrote: > On Thu, 28 Oct 2004 19:49:21 +0900, Curt Sampson wrote: > > >On Thu, 28 Oct 2004, Zev Blut wrote: > > > >>That is quite odd, I cannot recreate it on my machine. > > > >Did you try calling it a lot. It happens only once every few hundred > >thousand times. > > Ah, no I did not. Although, I just tried it with the following code > with no problems. > > require "date" > (1000000).times { Date.new(2003, 4, 11) } > Tried to put it into irb, no problems found. hramrach@Dell:ttyp2(1) 10290419 512:12]~ $ uname -a NetBSD Dell 2.0_RC2 NetBSD 2.0_RC2 (Dell) #0: Sat Oct 2 23:46:21 CEST 2004 hramrach@Dell:/scratch/obj/usr/src/sys/arch/i386/compile/Dell i386 hramrach@Dell:ttyp2(1) 10290420 513:13]~ $ ruby -v ruby 1.6.8 (2002-12-24) [i386-netbsdelf]