From c27bfde2838e3904f66a9d3eaa75fa05c6fe0498 Mon Sep 17 00:00:00 2001 From: MarC0 Date: Thu, 24 Sep 2020 19:58:12 +0200 Subject: [PATCH] Use local timezone for log dates --- src/KKManager.Core/Util/LogWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KKManager.Core/Util/LogWriter.cs b/src/KKManager.Core/Util/LogWriter.cs index 113107c..b7d2b2c 100644 --- a/src/KKManager.Core/Util/LogWriter.cs +++ b/src/KKManager.Core/Util/LogWriter.cs @@ -132,7 +132,7 @@ public override void Write(object value) public override void WriteLine(string value) { - var fullEntry = '[' + DateTime.UtcNow.ToString("T", CultureInfo.InvariantCulture) + ']' + value; + var fullEntry = "[" + DateTime.Now.ToString("T", CultureInfo.InvariantCulture) + "] " + value; base.WriteLine(fullEntry); }