add datetime to combat zone wins

This commit is contained in:
Florian Stinglmayr 2022-07-24 13:32:03 +02:00
parent 1362e53d6b
commit 84385be8a6

View File

@ -6,6 +6,13 @@ namespace EliteBGS.BGS {
public string Type { get; set; } public string Type { get; set; }
public string Grade { get; set; } public string Grade { get; set; }
public int Amount { get; set; } public int Amount { get; set; }
public DateTime Completed { get; set; } = DateTime.UtcNow;
public override string CompletedAt {
get {
return Completed.ToString("dd.MM.yyyy HH:mm UTC");
}
}
public int CompareTo(object obj) { public int CompareTo(object obj) {
if (obj.GetType() != typeof(CombatZone)) { if (obj.GetType() != typeof(CombatZone)) {