fix time format string