From 84385be8a67ec75d43922949f5cbd366ced24aff Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sun, 24 Jul 2022 13:32:03 +0200 Subject: [PATCH] add datetime to combat zone wins --- BGS/CombatZone.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BGS/CombatZone.cs b/BGS/CombatZone.cs index 36a9357..5f625bd 100644 --- a/BGS/CombatZone.cs +++ b/BGS/CombatZone.cs @@ -6,6 +6,13 @@ namespace EliteBGS.BGS { public string Type { get; set; } public string Grade { 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) { if (obj.GetType() != typeof(CombatZone)) {