Timebar: trim input before checking it