time-selector: removed unneeded code