date fixed
This commit is contained in:
parent
b104346502
commit
016d87dd96
|
@ -36,7 +36,7 @@ class PersonalConferencesController < ApplicationController
|
||||||
when "paper_types"
|
when "paper_types"
|
||||||
t << {"value" => ( !writing_conference.conference_paper_levels.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)}
|
t << {"value" => ( !writing_conference.conference_paper_levels.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)}
|
||||||
when "publication_date"
|
when "publication_date"
|
||||||
t << {"value" => (writing_conference.send(fs).strftime("%Y/%m/%d") rescue "")}
|
t << {"value" => (writing_conference.send(fs).strftime("%Y/%m") rescue "")}
|
||||||
when "author_type"
|
when "author_type"
|
||||||
t << {"value" => (writing_conference.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
|
t << {"value" => (writing_conference.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
|
||||||
when "period"
|
when "period"
|
||||||
|
|
Loading…
Reference in New Issue