Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 80a5a5b

Browse files
authored
Fixed test that fails when time format on a computer that runs the test is set to use 24 hour clock. (#387)
1 parent 96375ff commit 80a5a5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Validation.Common.Job.Tests/LoggerDiagnosticSourceFacts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public void TracksMetric()
234234
{
235235
new KeyValuePair<string, string>("Age", "10"),
236236
new KeyValuePair<string, string>("Cost", null),
237-
new KeyValuePair<string, string>("Created", "1/3/2017 8:30:00 AM -08:00"),
237+
new KeyValuePair<string, string>("Created", _payload["Created"].ToString()),
238238
}, properties.OrderBy(x => x.Key).ToList());
239239
}
240240
}

0 commit comments

Comments
 (0)