Does this need braces around parentmformatDuration?