Open gafter opened 7 years ago
The test contains the code
using (new CultureContext("en-US")) { Verify(FormatResult("new DateTime()", CreateDkmClrValue(new DateTime())), EvalResult("new DateTime()", "{1/1/0001 12:00:00 AM}", "System.DateTime", "new DateTime()", DkmEvaluationResultFlags.Expandable)); }
But this program
CultureInfo.CurrentCulture = new CultureInfo("en-US"); var s = $"{new DateTime()}"; Console.WriteLine(s);
Prints 0001-01-01 12:00:00 AM
0001-01-01 12:00:00 AM
This causes the test to fail.
I'll take a look at this now.
The test contains the code
But this program
Prints
0001-01-01 12:00:00 AM
This causes the test to fail.