forked from saurabh/personal-honor
fixed award date
This commit is contained in:
parent
8bcab846c4
commit
b97742b6db
|
@ -80,7 +80,7 @@ class Honor
|
|||
elsif t == "honor_type"
|
||||
pd_data << {"data_title" => (p.honor_type.title rescue "")}
|
||||
elsif t == "award_date"
|
||||
pd_data << {"data_title" => (p.send(fs).strftime("%Y/%m/%d") rescue "")}
|
||||
pd_data << {"data_title" => (p.send(t).strftime("%Y/%m/%d") rescue "")}
|
||||
else
|
||||
pd_data << { "data_title" => p.send(t) }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue