rem: if (winterOffset == standardTZOffset && winterOffset == summerOffset && 
add: if (TZoffset2 == standardTZOffset && TZoffset2 == TZoffset1 && 
context:     function checkTZ(someTZ)    {        var comp = icssrv.getTimezone(someTZ);        var subComp = comp.getFirstSubcomponent("VTIMEZONE");        var standard = subComp.getFirstSubcomponent("STANDARD");        var standardTZOffset = standard.getFirstProperty("TZOFFSETTO").stringValue;        var standardName = standard.getFirstProperty("TZNAME").stringValue;        var daylight = subComp.getFirstSubcomponent("DAYLIGHT");        var daylightTZOffset = null;        var daylightName = null;        if (daylight) {            daylightTZOffset = daylight.getFirstProperty("TZOFFSETTO").stringValue;            daylightName = daylight.getFirstProperty("TZNAME").stringValue;        }        if (winterOffset == standardTZOffset && winterOffset == summerOffset &&           !daylight) {            if(!standardName || standardName == summerTZname)                return 2;            return 1;        }        if (winterOffset == standardTZOffset && summerOffset == daylightTZOffset) {            // This seems backwards to me too, but it's how the data is written            if ((!standardName || standardName == summerTZname) &&                (!daylightName || daylightName == winterTZname))                return 2;            return 1;        }        return 0;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/96e4ac1c68ef5cdc0b41bc690759ed66d2b64bd0/calendarUtils.js/clean/calendar/resources/content/calendarUtils.js