fixed the error that  may equals '0.0000' when start time === end time