type fixed for xls

This commit is contained in:
Harry Bomrah 2016-06-06 17:17:11 +08:00
parent 052dc17430
commit 4c1990f95f
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,8 @@ wb = xlsx_package.workbook
row << t("personal_research.authors") + " - " + t(locale.to_s)
end
row << t("personal_research.research_category")
row << t("personal_research.year")
row << t("personal_research.language")
@ -50,6 +52,7 @@ wb = xlsx_package.workbook
row << proj.authors_translations[locale.to_s]
end
row << proj.research_category.title rescue ""
row << proj.year
row << proj.language
row << proj.publication_date.strftime("%Y-%m-%d") rescue ""