Fix CA1305
This commit is contained in:
committed by
Matthias Mailänder
parent
486a07602b
commit
d83e579dfe
@@ -12,6 +12,7 @@
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Channels;
|
||||
@@ -110,7 +111,7 @@ namespace OpenRA
|
||||
writer.WriteLine(item.Text);
|
||||
else
|
||||
{
|
||||
var timestamp = DateTime.Now.ToString(Game.Settings.Server.TimestampFormat);
|
||||
var timestamp = DateTime.Now.ToString(Game.Settings.Server.TimestampFormat, CultureInfo.CurrentCulture);
|
||||
writer.WriteLine("[{0}] {1}", timestamp, item.Text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user