fix January

This commit is contained in:
Simon Kornblith 2011-03-28 14:02:12 +00:00
parent 31a9021544
commit 8a4e7e88a4

View File

@ -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);