parent
40f9361ea4
commit
f9f6108f30
|
@ -164,7 +164,7 @@ class Book
|
|||
end
|
||||
value = value.join(" / ")
|
||||
when "language"
|
||||
value = I18n.t("personal_book.#{self.language}") if !self.language.nil? rescue ""
|
||||
value = I18n.t("#{self.language}") if !self.language.nil? rescue ""
|
||||
when "publish_date", "publication_date"
|
||||
value = self.send(field).to_date.strftime("%Y-%m-%d") rescue nil
|
||||
when "file"
|
||||
|
|
Loading…
Reference in New Issue