Fix time format error