We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3aca6 commit 3f90333Copy full SHA for 3f90333
GithubActionsHelloWorldTests/GithubActionsHelloWorldTest.cs
@@ -18,9 +18,9 @@ public async Task Main_ShouldRunWithoutError()
18
[Fact]
19
public void ShouldDoTheSameThingOnEachGHARunner()
20
{
21
- Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
+ Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
22
23
- string expected = "9/2/2010 12:00:00 AM";
+ string expected = "09/02/2010 00:00:00";
24
DateTime parsedDate = DateTime.Parse(expected);
25
var actual = parsedDate.ToString();
26
0 commit comments