From 16863a1f1daabe866548cdac2fffc832e208fcd2 Mon Sep 17 00:00:00 2001 From: "Jung Hyun, Nam" Date: Mon, 1 Apr 2024 23:05:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=EC=97=90=20UTC=20=EC=8B=9C=EA=B0=84=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TableCloth.CatalogBuilder/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TableCloth.CatalogBuilder/Program.cs b/src/TableCloth.CatalogBuilder/Program.cs index ac48b5b..ed9ba7e 100644 --- a/src/TableCloth.CatalogBuilder/Program.cs +++ b/src/TableCloth.CatalogBuilder/Program.cs @@ -343,6 +343,9 @@ static TextWriter PrepareOutputDirectory(string sourceDirectory, string targetDi Directory.CreateDirectory(targetDirectory); var logWriter = new StreamWriter(File.OpenWrite(Path.Combine(targetDirectory, "log.txt")), new UTF8Encoding(false)); ; + var utcNow = DateTimeOffset.UtcNow; + + logWriter.WriteLine(Console.Out, $"Info: UTC Date, time and timezone - {utcNow.ToUniversalTime()}"); logWriter.WriteLine(Console.Out, $"Info: Copying all sub-items in `{sourceDirectory}` directory to `{targetDirectory}` directory..."); CopyAll(logWriter, sourceDirectory, targetDirectory, true); return logWriter;