You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function SecondsFormatterMixin:FormatZero(abbreviation, toLower)
local minInterval = self:GetMinInterval(seconds);
local formatString = self:GetFormatString(minInterval, abbreviation);
return formatString:format(0);
end
Expected Impl
function SecondsFormatterMixin:FormatZero(abbreviation, toLower)
local minInterval = self:GetMinInterval(seconds);
local formatString = self:GetFormatString(minInterval, abbreviation, self.convertToLower);
return formatString:format(0);
end
This causes MySecondsFormatter:Format(0) to return "0 Sec" when initialized as MySecondsFormatter:Init(1, SecondsFormatter.Abbreviation.Truncate, false, true, true)
The text was updated successfully, but these errors were encountered:
Current Impl
Expected Impl
This causes
MySecondsFormatter:Format(0)
to return"0 Sec"
when initialized asMySecondsFormatter:Init(1, SecondsFormatter.Abbreviation.Truncate, false, true, true)
The text was updated successfully, but these errors were encountered: