mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Fix notes logging minutes instead of months.. oops.
This commit is contained in:
parent
3c9b503048
commit
b75360efae
@ -575,7 +575,7 @@ namespace MCGalaxy {
|
|||||||
if (!Server.LogNotes) return;
|
if (!Server.LogNotes) return;
|
||||||
string src = who == null ? "(console)" : who.name;
|
string src = who == null ? "(console)" : who.name;
|
||||||
|
|
||||||
string time = DateTime.UtcNow.ToString("dd/mm/yyyy");
|
string time = DateTime.UtcNow.ToString("dd/MM/yyyy");
|
||||||
Server.Notes.Append(target + " " + type + " " + src + " " + time);
|
Server.Notes.Append(target + " " + type + " " + src + " " + time);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -583,7 +583,7 @@ namespace MCGalaxy {
|
|||||||
if (!Server.LogNotes) return;
|
if (!Server.LogNotes) return;
|
||||||
string src = who == null ? "(console)" : who.name;
|
string src = who == null ? "(console)" : who.name;
|
||||||
|
|
||||||
string time = DateTime.UtcNow.ToString("dd/mm/yyyy");
|
string time = DateTime.UtcNow.ToString("dd/MM/yyyy");
|
||||||
reason = reason.Replace(" ", "%20");
|
reason = reason.Replace(" ", "%20");
|
||||||
Server.Notes.Append(target + " " + type + " " + src + " " + time + " " + reason);
|
Server.Notes.Append(target + " " + type + " " + src + " " + time + " " + reason);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user