fix(timepicker): fix time selection regression (fixes #965, fixes #963)