As far as I know dates stored in the DB by Rails are by default in UTC luca
On Wed, Oct 21, 2009 at 1:34 AM, LostyJai <[email protected]> wrote: > > The created_at field for all the records in the database is about 10 > hours behind. However MySQL's `now()` command returns the correct > time, and so does `Time.new` in ruby. > > In the environment.rb config file I have set: > > config.time_zone = 'UTC +10:00' > config.time_zone = 'Sydney' > > Any ideas? > > > -- Luca Faggioli Openliven Srl follow me on Twitter: http://twitter.com/lfaggioli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
