You don't "fix" that, Rails store the dates using the UTC timezone so it can show it in ANY other timezone in the views, active record will automatically change all dates to your current timezone when showing them in the view.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Sqlite crazy timezone | 0 | 125 | June 13, 2009 | |
Rails date conversion | 1 | 99 | July 29, 2009 | |
Weird Behaviors of datetime(timezone) in Rails application | 3 | 264 | August 17, 2015 | |
Some timezone trouble involving tzinfo and postgresql | 1 | 100 | April 3, 2007 | |
about local time | 0 | 144 | October 21, 2008 |