removed day from profile teacher page

This commit is contained in:
Harry Bomrah 2016-04-13 15:28:37 +08:00
parent 9cef3dc838
commit 97e0406b9d
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class JournalPaper
when "level_type"
pd_data << {"data_title" => ( !p.journal_levels.blank? ? "(#{p.journal_levels.collect{|x| x.title}.join(', ')})" : nil)}
when "publication_date"
pd_data << {"data_title" => (p.send(t).strftime("%Y/%m/%d") rescue "")}
pd_data << {"data_title" => (p.send(t).strftime("%Y/%m") rescue "")}
when "author_type"
pd_data << {"data_title" => (p.journal_paper_author_types.collect{|jat| jat.title}.join(", ") rescue "")}
else