improve parseTime feature