date time error in news `

This commit is contained in:
xianbo 2014-04-10 10:51:03 +08:00
parent b1705ddf7d
commit f823a81a37
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
</p></td>
</tr>
<tr>
<td align="left"><span class="font_lighter"> <%= @news.created_on %></span></td>
<td align="left"><span class="font_lighter"> <%= format_time(comment.created_on) %></span></td>
<td width="200" align="right" class="a"><%= link_to_if_authorized image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %></td>
</tr>