From 578c757e29b6f45dd9ac2f75742caa638d26729f Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Wed, 4 Sep 2013 22:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=BA=86=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index ef2fae70c..64d633575 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -50,8 +50,8 @@ <%= textilizable(news, :description) %> - <%= news.created_on %> - <%= link_to l(:label_project_newother),news_path(news)%><%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count >= 0 %> + <%= format_time(news.created_on) %> + <%= link_to l(:label_project_newother),news_path(news)%><%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count >= 0 %>