adjust the time format