Actions
Defect #1585
closedIf timezone is set in an user, a exception is raised.
Start date:
2008-07-05
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Using trunk, when a user has the timezone seted it breaks ...
Processing MyController#page (for 201.40.162.47 at 2008-07-05 01:12:32) [GET] Session ID: feb3bd598d9bc044452986085e9e2804 Parameters: {"action"=>"page", "controller"=>"my"} Rendering template within layouts/base Rendering my/page ActionView::TemplateError (undefined method `adjust' for #<TimeZone:0xb7992e1c>) on line #17 of issues/_list_simple.rhtml: 14: <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> 15: </td> 16: <td><%=h issue.project.name %> - <%= issue.tracker.name %><br /> 17: <%= issue.status.name %> - <%= format_time(issue.updated_on) %></td> 18: <td class="subject"> 19: <%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %> 20: </td> app/helpers/application_helper.rb:81:in `format_time' app/views/issues/_list_simple.rhtml:17:in `_run_erb_47app47views47issues47_list_simple46rhtml' app/views/issues/_list_simple.rhtml:10:in `each' app/views/issues/_list_simple.rhtml:10:in `_run_erb_47app47views47issues47_list_simple46rhtml' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/capture_helper.rb:141:in `call' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/capture_helper.rb:141:in `capture_erb_with_buffer' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/capture_helper.rb:44:in `capture' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/form_tag_helper.rb:444:in `form_tag_in_block' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag' app/views/issues/_list_simple.rhtml:2:in `_run_erb_47app47views47issues47_list_simple46rhtml' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:338:in `send' /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:338:in `execute'
Related issues
Actions