rem: var kDefaultTimezone = calendarDefaultTimezone(); 
add: var kDefaultTimezone = window.opener.calendarDefaultTimezone(); 
context: function editRecurrence(){    var args = new Object();    args.calendarEvent = window.calendarItem;    args.recurrenceInfo = window.recurrenceInfo || args.calendarEvent.recurrenceInfo;    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);    }    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/ebeb359291a782052333d599528f9d6b2212f062/calendar-event-dialog.js/buggy/calendar/base/content/calendar-event-dialog.js