Converting dates to string using the InvariantCulture.
This commit is contained in:
@@ -18,6 +18,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Network
|
||||
{
|
||||
using System.Globalization;
|
||||
using NamesValuesPair = Pair<string[], object[]>;
|
||||
|
||||
class SyncReport
|
||||
@@ -92,7 +93,7 @@ namespace OpenRA.Network
|
||||
|
||||
internal void DumpSyncReport(int frame, IEnumerable<FrameData.ClientOrder> orders)
|
||||
{
|
||||
var reportName = "syncreport-" + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ") + ".log";
|
||||
var reportName = "syncreport-" + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ", CultureInfo.InvariantCulture) + ".log";
|
||||
Log.AddChannel("sync", reportName);
|
||||
|
||||
foreach (var r in syncReports)
|
||||
|
||||
Reference in New Issue
Block a user