On Sep 18, 1:07 am, John Anderson <[email protected]> wrote: > The relevant line is > > SQLTime.local(value.year, value.month, value.day, value.hour, value.min, > value.sec, value.respond_to?(:nsec) ? value.nsec : value.usec)
That's definitely a bug. > and a fix might be > > SQLTime.local(value.year, value.month, value.day, value.hour, value.min, > value.sec, value.respond_to?(:nsec) ? value.nsec*1e-9 : value.usec*1e-6) That's not the correct fix, though. The correct fix is to use value.nsec/1000.0 if value responds to nsec. I've got a fix in my local branch, it'll be pushed on Monday. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
