add:  var kDefaultTimezone = calendarDefaultTimezone(); if (isEvent(window.calendarItem)) { var startDate = jsDateToDateTime(getElementValue("event-starttime")).getInTimezone(kDefaultTimezone); if (getElementValue("event-all-day", "checked")) { startDate.isDate = true; startDate.normalize(); } args.startDate = startDate; } else if (isToDo(window.calendarItem)) { if (!getElementValue("todo-has-entrydate", "checked")) { return; } args.startDate = jsDateToDateTime(getElementValue("todo-entrydate")).getInTimezone(kDefaultTimezone); } 
context: function editRecurrence(){    var args = new Object();    args.calendarEvent = window.calendarItem;    args.recurrenceInfo = window.recurrenceInfo || args.calendarEvent.recurrenceInfo;    var savedWindow = window;    args.onOk = function(recurrenceInfo) {        savedWindow.recurrenceInfo = recurrenceInfo;    };    // wait cursor will revert to auto in eventDialog.js loadCalendarEventDialog    window.setCursor("wait");    // open the dialog modally    openDialog("chrome://calendar/content/calendar-recurrence-dialog.xul", "_blank", "chrome,titlebar,modal", args);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0ee23403c8ead5ac16a3a2e00f032aa7dfee448d/calendar-event-dialog.js/clean/calendar/base/content/calendar-event-dialog.js