This commit is contained in:
iCross 2013-05-24 22:55:16 +08:00
parent 21bf3a0ccd
commit d4962d20b3
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Survey
def time_range
r = "#{self.postdate.to_date}"
r += "- #{self.deadline.to_date}" if self.deadline
r += "- #{self.deadline.to_date}" unless self.deadline.nil?
r
end