Ruby on Rails
Monday, August 30, 2010
I don't know if timezone really works in rails.
In my rails 3 application.rb file I have:
config.time_zone = 'Rome'
config.i18n.default_locale = :it
config.encoding = "utf-8"
My database is postgres.
I've created some migrations and put some records.
The time in created_at and updated_at fields is 2 hours back.
Why?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment