This commit is contained in:
yamanq 2016-08-10 18:02:38 -04:00
parent 1ca406c9d7
commit 946f8e3257

View File

@ -159,9 +159,10 @@ Template.main.helpers({
cursor.forEach(function(current) {
backgroundColor = calendarColors[current.type];
title = current.name;
duedate = current.date.toISOString().slice(0,10);
duedate = current.dueDate.toISOString().slice(0,10);
donelist.push({start: duedate, title: title, backgroundColor: backgroundColor});
});
console.log(donelist);
return donelist;
}
};