From f823a81a374c78b867f61f250700b98f09a6fbb4 Mon Sep 17 00:00:00 2001
From: xianbo
Date: Thu, 10 Apr 2014 10:51:03 +0800
Subject: [PATCH] date time error in news `
---
app/views/news/show.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb
index 970e228e9..5e892e5b2 100644
--- a/app/views/news/show.html.erb
+++ b/app/views/news/show.html.erb
@@ -74,7 +74,7 @@
- <%= @news.created_on %> |
+ <%= format_time(comment.created_on) %> |
<%= 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) %> |