fix the time format.