commit 8a4e7e88a429ec0a5c5dd8b68e38782db8897ed9
parent 31a9021544761be10ed81f5e4bb3f9f51d1752ed
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 28 Mar 2011 14:02:12 +0000
fix January
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);