Fix time.format