rem: event.isAllDay = true; 
context:     createNewEvent: function (aCalendar, aStartTime, aEndTime) {        // XXX If we're adding an item from the view, let's make sure that        // XXX the calendar in question is visible!                // if we're given both times, skip the dialog        if (aStartTime && aEndTime && !aStartTime.isDate && !aEndTime.isDate) {            var event = createEvent();            event.startDate = aStartTime;            event.endDate = aEndTime;            event.title = "New Event";            aCalendar.addItem(event, null);        } else if (aStartTime && aStartTime.isDate) {            var event = createEvent();            event.isAllDay = true;            event.startDate = aStartTime;            aCalendar.addItem(event, null);        } else {            // default pop up the dialog            createEventWithDialog(aCalendar, aStartTime, aEndTime);        }    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/80f1651b1ead09e5fba25da40e67a3e33c7fa30e/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js