actually fix the bug properly this time

This commit is contained in:
Simon Kornblith 2006-08-14 05:15:52 +00:00
parent a67b8c8b95
commit 45f84fb31f

View file

@ -2920,9 +2920,8 @@ function doExport() {
if(item.date) { if(item.date) {
if(inArray(item.itemType, ["book", "bookSection"]) { if(inArray(item.itemType, ["book", "bookSection"]) {
// Assume year is copyright date // Assume year is copyright date
originInfo += <copyrightDate encoding="iso8601">{item.date}</copyrightDate>; var dateType = "copyrightDate";
} } else if(inArray(item.itemType, ["journalArticle", "magazineArticle", "newspaperArticle"])) {
if(inArray(item.itemType, ["magazineArticle", "newspaperArticle"])) {
// Assume date is date issued // Assume date is date issued
var dateType = "dateIssued"; var dateType = "dateIssued";
} else { } else {