show page date fix to postdate

This commit is contained in:
JiangRu committed 2014-12-27 11:20:50 +08:00
1 parent 52c01d4af9
commit 4a257f7590
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ class AnnouncementsController < ApplicationController
"data" => {
"title" => announcement.title,
"update_user" => update_user,
"updated_at" => announcement.updated_at.strftime('%Y-%m-%d %H:%M'),
"updated_at" => announcement.postdate.strftime('%Y-%m-%d %H:%M'),
"body" =>announcement.text,
"image" => announcement.image.url
},