rem: Timeline.GregorianUtilities.roundDownToInterval(minDate2, zone.unit); Timeline.GregorianUtilities.roundUpToInterval(maxDate2, zone.unit); 
add: Timeline.GregorianUtilities.roundDownToInterval(minDate2, zone.unit, zone.multiple); Timeline.GregorianUtilities.roundUpToInterval(maxDate2, zone.unit, zone.multiple); 
context: Timeline.HotZoneGregorianEtherPainter.prototype.paint = function() {    if (this._markerLayer) {        this._band.removeLayerDiv(this._markerLayer);    }    this._markerLayer = this._band.createLayerDiv(100);        var minDate = this._band.getMinDate();    var maxDate = this._band.getMaxDate();        var p = this;    var incrementDate = function(date, zone) {        for (var i = 0; i < zone.multiple; i++) {            Timeline.GregorianUtilities.incrementByInterval(date, zone.unit);        }    };    var positionDiv = function(div, date) {        var offset = Math.round(p._band.dateToPixelOffset(date));        if (p._timeline.isHorizontal()) {            div.style.left = offset + "px";            div.style.bottom = "0px";        } else {            div.style.top = offset + "px";            div.style.right = "0px";        }    };    var createDiv = function(date, zone) {        var div = p._timeline.getDocument().createElement("div");        div.className = p._timeline.isHorizontal() ?             "timeline-ether-interval-label-horizontal" :            "timeline-ether-interval-label-vertical";                var label = Timeline.GregorianUtilities.labelInterval(date, zone.unit);        div.innerHTML = label.text;        if (label.emphasized) {            div.className += "-emphasized";        }                positionDiv(div, date);        p._markerLayer.appendChild(div);                return div;    };        var zStart = 0;    while (zStart < this._zones.length) {        if (minDate.getTime() < this._zones[zStart].endTime) {            break;        }        zStart++;    }    var zEnd = this._zones.length - 1;    while (zEnd >= 0) {        if (maxDate.getTime() > this._zones[zEnd].startTime) {            break;        }        zEnd--;    }        for (var z = zStart; z <= zEnd; z++) {        var zone = this._zones[z];                var minDate2 = new Date(Math.max(minDate.getTime(), zone.startTime));        var maxDate2 = new Date(Math.min(maxDate.getTime(), zone.endTime));                Timeline.GregorianUtilities.roundDownToInterval(minDate2, zone.unit);        Timeline.GregorianUtilities.roundUpToInterval(maxDate2, zone.unit);                while (minDate2.getTime() < maxDate2.getTime()) {            createDiv(minDate2, zone);            incrementDate(minDate2, zone);        }    }};
meta: 6925	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6925/ba3ca020ee0806faa7b0c85f36a2b9bb70e903fc/timeline-ethers.js/buggy/src/main/webapp/scripts/timeline-ethers.js