Hide end time in light box

Any one tell how to we change in light box the end time is not shown in light box

currently the only way to hide ‘end time’ is to manually set ‘display:none’ to it’s elements.
Code might be the following: scheduler.attachEvent("onBeforeLightbox", function () { var time = scheduler.formSection("time"); var selectors = time.control; for (var i = 4; i < selectors.length; i++) {//hide selectors selectors[i].style.display = "none"; } time.node.getElementsByTagName("span")[0].style.display = "none";//hide dash between start and end selectors return true; });