Skip to content

Commit

Permalink
Use local timezone for log dates
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Sep 24, 2020
1 parent b5930cc commit c27bfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KKManager.Core/Util/LogWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c27bfde

Please sign in to comment.