actually fix the bug properly this time
This commit is contained in:
parent
a67b8c8b95
commit
45f84fb31f
1 changed files with 2 additions and 3 deletions
|
@ -2920,9 +2920,8 @@ function doExport() {
|
|||
if(item.date) {
|
||||
if(inArray(item.itemType, ["book", "bookSection"]) {
|
||||
// Assume year is copyright date
|
||||
originInfo += <copyrightDate encoding="iso8601">{item.date}</copyrightDate>;
|
||||
}
|
||||
if(inArray(item.itemType, ["magazineArticle", "newspaperArticle"])) {
|
||||
var dateType = "copyrightDate";
|
||||
} else if(inArray(item.itemType, ["journalArticle", "magazineArticle", "newspaperArticle"])) {
|
||||
// Assume date is date issued
|
||||
var dateType = "dateIssued";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue