On Feb 22, 8:34 am, Iain Barnett <[email protected]> wrote: > Before the database is initialised: > > Sequel.default_timezone = :utc
This may be the problem. If the database is storing times in localtime, then you shouldn't set default_timezone = :utc. You probably want database_timezone = :local and application_timezone = :utc. This will convert the times from UTC->Local before they go into the database, and Local->UTC upon retrieval from the database. 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.
