From f610fefc838d9f93bd786d6489d1f9bb2f968832 Mon Sep 17 00:00:00 2001 From: White Date: Tue, 24 Mar 2015 14:13:40 +1030 Subject: [PATCH] Revert UtcNow change in TextLog.cs --- TShockAPI/TextLog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/TextLog.cs b/TShockAPI/TextLog.cs index bd256c75..aef72b7a 100644 --- a/TShockAPI/TextLog.cs +++ b/TShockAPI/TextLog.cs @@ -212,7 +212,7 @@ namespace TShockAPI } var logEntry = string.Format("{0} - {1}: {2}: {3}", - DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture), + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture), caller, level.ToString().ToUpper(), message); try { @@ -224,7 +224,7 @@ namespace TShockAPI ServerApi.LogWriter.PluginWriteLine(TShock.instance, logEntry, TraceLevel.Error); Console.WriteLine("Unable to write to log as log has been disposed."); Console.WriteLine("{0} - {1}: {2}: {3}", - DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture), + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture), caller, level.ToString().ToUpper(), message); } }