don't throw an error trying to make a bibliography with an item with no date (thanks Dan)
This commit is contained in:
parent
dac5bbb3f3
commit
ba1a383aa1
|
@ -896,10 +896,8 @@ CSL.prototype._preprocessItems = function(items) {
|
|||
}
|
||||
}
|
||||
|
||||
// parse
|
||||
if(item.date) { // specific date
|
||||
item._csl.date = CSL.prototype._processDate(item.date);
|
||||
}
|
||||
// parse date
|
||||
item._csl.date = CSL.prototype._processDate(item.date);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user