references #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
put a string in date.literal, instead of the whole date object, when passing to citeproc-js
This commit is contained in:
parent
10cbc0ceeb
commit
59817af546
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ Zotero.Cite.System.retrieveItem = function(item){
|
|||
date = Zotero.Date.strToDate(date);
|
||||
if(date.part && !date.month) {
|
||||
// if there's a part but no month, interpret literally
|
||||
cslItem[variable] = {"literal": date};
|
||||
cslItem[variable] = {"literal": date.part};
|
||||
} else {
|
||||
// otherwise, use date-parts
|
||||
var dateParts = [];
|
||||
|
|
Loading…
Add table
Reference in a new issue