[Rails] Re: Sqlite crazy timezone

2009-06-13 Thread Bharat
So as Maricio is pointing out, Rails stores the time in UTC format by default, but you can set it to display the time in the preferred zone format. For example, I am in the eastern time zone and would like my application to display time in EST. To do that, use the following setting in RAILS_ROOT

[Rails] Re: Sqlite crazy timezone

2009-06-12 Thread MaurĂ­cio Linhares
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. - MaurĂ­cio Linhares http://codeshooter.wordpress.com/ | http://twitter