Fix time truncation.