| Start |
|---|
Change Rails timezone AND have Active Record store times in this timezone |
Change Rails timezone, but continue to have Active Record save in the database in UTC Remarks**config.active_record.default_timezone** determines whether to use Time.local (if set to :local) or Time.utc (if set to :utc) when pulling dates and times from the database. The default is :utc. [http://guides.rubyonrails.org/configuring.html](http://guides.rubyonrails.org/configuring.html) If you want to change Rails timezone, but continue to have Active Record save in the database in UTC, use If you want to change Rails timezone AND have Active Record store times in this timezone, use Warning: you really should think twice, even thrice, before saving times in the database in a non-UTC format. **Note** Remember that
Here's how you can find all available timezones |
Read Article
https://develop.horje.com/learn/1434/reference