date fixed

This commit is contained in:
Harry Bomrah 2016-04-11 19:54:51 +08:00
parent b104346502
commit 016d87dd96
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class PersonalConferencesController < ApplicationController
when "paper_types"
t << {"value" => ( !writing_conference.conference_paper_levels.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)}
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"
t << {"value" => (writing_conference.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
when "period"