From: ara.t.howard@... Date: 2006-09-06T07:36:03+09:00 Subject: Re: [ANN] timeunits-0.0.0 On Wed, 6 Sep 2006, Kevin Olbrich wrote: > FWIW, > > Rails already does this, as does Facets, the conversions gem, and the > ruby-units gem. > > The API varies a little bit. they do this? a = Time.now b = a + 42.seconds delta = b - a p delta.days #=> 0.000486111111111111 i didn't know they handled time differences too? i'm sure rails does not do this and the docs for facets seems to show it does not. are you sure? i thought the example was pretty clear that the unit methods were asymetric in the way they operate on times and time deltas... if not, sorry. cheers. -a -- what science finds to be nonexistent, we must accept as nonexistent; but what science merely does not find is a completely different matter... it is quite clear that there are many, many mysterious things. - h.h. the 14th dalai lama