I specified config.time_zone in my Rails app, but the retrieved times in form fields still render as the UTC (which creates problems on updates). Shouldn\'t this be convert
It turns out the real problem was in the text_fields themselves.
My 'config.time_zone' setting was working just fine (without any extra methods or hacks) in my 'index' and 'show' views, and it worked in the 'edit' view, too, as long as I used a datetime_select instead of a text_field.
As this wasn't an option for me (I was using jQuery UI's DatePicker, which needs a text_field), I investigated the text_field specific problem and answered another StackOverflow question of my own on the subject.
If you're having the text_field problem, check out that question/answer.
Just use this:
<div class="field">
<%= f.label :time_start %><br />
<%= f.datetime_select :time_start, :class => "datetimefield" %>
</div>
I create a little app for this and it's works.
You can do something like this:
heroku config:add TZ=America/Chicago
That should fix your issue on Heroku.