diff --git a/app/controllers/e_papers_controller.rb b/app/controllers/e_papers_controller.rb index a11d8c4..dd82d52 100644 --- a/app/controllers/e_papers_controller.rb +++ b/app/controllers/e_papers_controller.rb @@ -16,7 +16,7 @@ class EPapersController < ApplicationController "episode" => topic.episode, "content" => topic.content, - "publish_date" => topic.created_at.strftime('%Y-%m-%d') + "publish_date" => topic.created_at } end @@ -57,7 +57,7 @@ class EPapersController < ApplicationController "episode" => topic.episode, "content" => topic.content, "description" => desc[0..100], - "publish_date" => topic.created_at.strftime("%Y-%m-%d") + "publish_date" => topic.created_at } end { @@ -66,7 +66,7 @@ class EPapersController < ApplicationController "period" => paper.period, "description" => paper.description, "category" => paper.category.title, - "publish_date" => paper.created_at.strftime("%Y-%m-%d"), + "publish_date" => paper.created_at, "th_title" => t('e_paper.title'), "th_category" => t('category'), "th_period" => t('e_paper.period'),