rem: start = start.getInTimezone(gEndTimezone); if (gDisplayTimezone) { start.timezone = gEndTimezone; } gEndDate = start; 
add: gEndDate = start.getInTimezone(gEndTimezone); 
context: function updateStartTime() {    if (gIgnoreUpdate) {        return;    }    var startWidgetId = "event-starttime";    var endWidgetId = "event-endtime";    var startWidget = document.getElementById(startWidgetId);    var endWidget = document.getElementById(endWidgetId);    // jsDate is always in OS timezone, thus we create a calIDateTime    // object from the jsDate representation and simply set the new    // timezone instead of converting.    var kDefaultTimezone = calendarDefaultTimezone();    var start = jsDateToDateTime(startWidget.value);    start = start.getInTimezone(kDefaultTimezone);    if (gDisplayTimezone) {        start.timezone = gStartTimezone;    }    gStartDate = start.clone();    start.addDuration(gDuration);    start = start.getInTimezone(gEndTimezone);    if (gDisplayTimezone) {        start.timezone = gEndTimezone;    }    gEndDate = start;    var allDayElement = document.getElementById("all-day");    var allDay = allDayElement.getAttribute("checked") == "true";    if (allDay) {        gStartDate.isDate = true;        gEndDate.isDate = true;    }    propagateDateTime();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/496852d95be0e5e92b5a8af0e798cf45ccd1608d/sun-calendar-event-dialog-attendees.js/buggy/calendar/prototypes/wcap/sun-calendar-event-dialog-attendees.js