From 8a4e7e88a429ec0a5c5dd8b68e38782db8897ed9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 28 Mar 2011 14:02:12 +0000 Subject: [PATCH] fix January --- chrome/content/zotero/xpcom/cite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 663f891b4..308bd8214 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -176,7 +176,7 @@ Zotero.Cite.System.retrieveItem = function(item){ if(dateObj.year) { // add year, month, and day, if they exist dateParts.push(dateObj.year); - if(dateObj.month) { + if(dateObj.month !== undefined) { dateParts.push(dateObj.month+1); if(dateObj.day) { dateParts.push(dateObj.day);