Fix custom time in time selector