Skip to content

Commit

Permalink
Use invariant culture
Browse files Browse the repository at this point in the history
  • Loading branch information
msJinLei committed Oct 14, 2024
1 parent 46695a5 commit cea1ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monitor/Monitor/OutputClasses/CustomPrinter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private static void Print(object obj, string name, string currentIndent, StringB
sb.Append(" : ");
if (obj is DateTime dateTime)
{
sb.AppendLine(dateTime.ToString("G", new CultureInfo("en-US")));
sb.AppendLine(dateTime.ToString("G", System.Globalization.CultureInfo.InvariantCulture));
}
else
{
Expand Down

0 comments on commit cea1ac5

Please sign in to comment.