We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Group-Object
1 parent d1fc83f commit 442d3a4Copy full SHA for 442d3a4
1 file changed
src/Microsoft.PowerShell.Commands.Utility/commands/utility/Group-Object.cs
@@ -153,15 +153,15 @@ private static string BuildName(List<ObjectCommandPropertyValue> propValues)
153
154
foreach (object item in propertyValueItems)
155
{
156
- sb.Append(CultureInfo.InvariantCulture, $"{item}, ");
+ sb.AppendFormat(CultureInfo.CurrentCulture, $"{item}, ");
157
}
158
159
sb = sb.Length > length ? sb.Remove(sb.Length - 2, 2) : sb;
160
sb.Append("}, ");
161
162
else
163
164
- sb.Append(CultureInfo.InvariantCulture, $"{propValuePropertyValue}, ");
+ sb.AppendFormat(CultureInfo.CurrentCulture, $"{propValuePropertyValue}, ");
165
166
167
0 commit comments