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 | 118 | June 13, 2009 | |
TimeZone confusion | 2 | 83 | March 28, 2009 | |
Date/Time problems on Windows | 1 | 146 | May 12, 2009 | |
Storing UTC time, displaying and editing in user time zone | 4 | 197 | March 9, 2009 | |
ActiveRecord doesn't care about timezone? | 4 | 149 | September 5, 2009 |