add: else calendarToDo.due.setTime( dueDate ); 
context: function newToDo ( startDate, dueDate ) {    var calendarToDo = createToDo();       // created todo has no start or due date unless user wants one    if (! startDate )       calendarToDo.start.clear();    if (! dueDate )       calendarToDo.due.clear();    var server = getSelectedCalendarPathOrNull();       editNewToDo(calendarToDo, server);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e90d503f738580d5df724984fa1c3df4ad6fb73f/calendar.js/buggy/calendar/resources/content/calendar.js