Fix time format and change minimum time