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(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 {
|
||||||
|
|
Loading…
Reference in a new issue