changed format

This commit is contained in:
Harry Bomrah 2016-04-11 19:56:44 +08:00
parent 835dd7fc28
commit 9ed10d1e19
1 changed files with 1 additions and 1 deletions

View File

@ -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