rem: var createDiv = function(date) { 
add: var createDiv = function(date, zone) { 
context:     var createDiv = function(date) {        var div = p._timeline.getDocument().createElement("div");        div.className = p._timeline.isHorizontal() ?             "timeline-ether-interval-label-horizontal" :            "timeline-ether-interval-label-vertical";                var text;        switch(p._unit) {        case Timeline.MILLISECOND:            text = date.getMilliseconds();            break;        case Timeline.SECOND:            text = date.getSeconds();            break;        case Timeline.MINUTE:            text = date.getMinutes();            break;        case Timeline.HOUR:            text = date.getHours() + ":00";            break;        case Timeline.DAY:            text = Timeline.GregorianEtherPainter._monthNames[date.getMonth()] + " " + date.getDate();            break;        case Timeline.WEEK:            text = Timeline.GregorianEtherPainter._monthNames[date.getMonth()] + " " + date.getDate();            break;        case Timeline.MONTH:            var m = date.getMonth();            if (m == 0) {                text = date.getFullYear();                div.className += "-emphasized";            } else {                text = Timeline.GregorianEtherPainter._monthNames[m];            }            break;        case Timeline.YEAR:            text = date.getFullYear();            break;        case Timeline.DECADE:            text = date.getFullYear();            break;        case Timeline.CENTURY:            text = date.getFullYear();            break;        case Timeline.MILLENNIUM:            text = date.getFullYear();            break;        }        div.innerHTML = text;                positionDiv(div, date);        p._markerLayer.appendChild(div);                return div;    };
meta: 7652	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7652/64b61a8066b7fe3bfaefccb3634849875a577cf7/timeline-ethers.js/clean/src/main/webapp/scripts/timeline-ethers.js