From: Joel VanderWerf Date: 2005-08-29T05:21:14+09:00 Subject: Re: millisec in strin representation of Time Kirk Haines wrote: ... > class Time > class << Time > alias :parse_old :parse > def parse(date, now=Time.now) > t = parse_old(date,now) > d = Date._parse(date) > t += d[:sec_fraction].to_f if d.has_key? :sec_fraction t > end > end > end If the _date_ arg doesn't have fractional seconds, then parse still needs to return t. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407