On Aug 17, 10:25 pm, Jim Morris <[email protected]> wrote:
> Hi,
>
> I have a simple sequel statement which retrieves a row from a
> postgresql database, which has a datetime column whose value is
> 2104-02-05, which is  a prefectly valid date just a long way in the
> future.
>
> I get this error which apparently is a limitation of ruby's time.rb
> library, is there a work around?

Sequel.datetime_class = DateTime exists mainly for this reason (it
also handles named timezones, which Time doesn't handle).  You could
also upgrade to ruby 1.9.2, which I believe extends Time's range.

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.

Reply via email to