Skip to content

Commit 4f5aa68

Browse files
authored
Merge pull request #484 from abborg/master
Add datetime of run to header
2 parents 08022ea + 619430d commit 4f5aa68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NUnitConsole/nunit3-console/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
using System;
2525
using System.Diagnostics;
26+
using System.Globalization;
2627
using System.IO;
2728
using System.Reflection;
2829
using System.Text;
@@ -175,6 +176,7 @@ private static void WriteHeader()
175176

176177
OutWriter.WriteLine(ColorStyle.Header, header);
177178
OutWriter.WriteLine(ColorStyle.SubHeader, versionBlock.LegalCopyright);
179+
OutWriter.WriteLine(ColorStyle.SubHeader, DateTime.Now.ToString(CultureInfo.CurrentCulture.DateTimeFormat.FullDateTimePattern));
178180
OutWriter.WriteLine();
179181
}
180182

0 commit comments

Comments
 (0)