show page date fix to postdate

This commit is contained in:
JiangRu 2014-12-27 11:20:50 +08:00
parent 52c01d4af9
commit 4a257f7590
1 changed files with 1 additions and 1 deletions

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
},