changed format
This commit is contained in:
parent
835dd7fc28
commit
9ed10d1e19
|
@ -26,7 +26,7 @@ class PersonalHonorsController < ApplicationController
|
||||||
when "authors"
|
when "authors"
|
||||||
t << {"value" => (honor.send(:member_profile).name rescue "")}
|
t << {"value" => (honor.send(:member_profile).name rescue "")}
|
||||||
when "award_date"
|
when "award_date"
|
||||||
t << {"value" => (honor.send(fs).strftime("%Y/%m/%d") rescue "")}
|
t << {"value" => (honor.send(fs).strftime("%Y/%m") rescue "")}
|
||||||
else
|
else
|
||||||
t << {"value" => (honor.send(fs) rescue "")}
|
t << {"value" => (honor.send(fs) rescue "")}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue