changed format
This commit is contained in:
parent
835dd7fc28
commit
9ed10d1e19
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue