rem: daylightTZOffset = daylight.getFirstProperty("TZOFFSETTO").stringValue; daylightName = daylight.getFirstProperty("TZNAME").stringValue; 
add: daylightTZOffset = daylight.getFirstProperty("TZOFFSETTO").valueAsIcalString; daylightName = daylight.getFirstProperty("TZNAME").valueAsIcalString; 
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 (TZoffset2 == standardTZOffset && TZoffset2 == TZoffset1 &&           !daylight) {            if(!standardName || standardName == TZname1)                return 2;            return 1;        }        if (TZoffset2 == standardTZOffset && TZoffset1 == daylightTZOffset) {            if ((!standardName || standardName == TZname1) &&                (!daylightName || daylightName == TZname2))                return 2;            return 1;        }        // Now flip them and check again, to cover the southern hemisphere case        if (TZoffset1 == standardTZOffset && TZoffset2 == TZoffset1 &&           !daylight) {            if(!standardName || standardName == TZname2)                return 2;            return 1;        }        if (TZoffset1 == standardTZOffset && TZoffset2 == daylightTZOffset) {            if ((!standardName || standardName == TZname2) &&                (!daylightName || daylightName == TZname1))                return 2;            return 1;        }        return 0;    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4b3164d2cfcd0000afbf0375723ffad6c00f796b/calendarUtils.js/buggy/calendar/resources/content/calendarUtils.js