strengthens CustomTime::valid? regex and adds trimming to time_string