From 9ed10d1e19020a0230e93dafe8e57c92142915df Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 11 Apr 2016 19:56:44 +0800 Subject: [PATCH] changed format --- app/controllers/personal_honors_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_honors_controller.rb b/app/controllers/personal_honors_controller.rb index 0fa2cc8..891f05d 100644 --- a/app/controllers/personal_honors_controller.rb +++ b/app/controllers/personal_honors_controller.rb @@ -26,7 +26,7 @@ class PersonalHonorsController < ApplicationController when "authors" t << {"value" => (honor.send(:member_profile).name rescue "")} when "award_date" - t << {"value" => (honor.send(fs).strftime("%Y/%m/%d") rescue "")} + t << {"value" => (honor.send(fs).strftime("%Y/%m") rescue "")} else t << {"value" => (honor.send(fs) rescue "")} end