From 8f3d7641148a089edbc009b5f9cd5f0db4c3d4e3 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Sun, 23 Dec 2018 20:40:58 +0300 Subject: [PATCH] new variable in Match. DateTime String. --- OWTrack/MainForm.cs | 3 ++- OWTrack/Tracker.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OWTrack/MainForm.cs b/OWTrack/MainForm.cs index 67f0db5..67cd05d 100644 --- a/OWTrack/MainForm.cs +++ b/OWTrack/MainForm.cs @@ -171,7 +171,8 @@ namespace OWTrack StartSR = tr.startSR, newSR = tr.newSR, ChangeInSR = tr.srDiff(), - dateTime = DateTime.Now.Date + dateTime = DateTime.Now.Date, + DateTimeSting = DateTime.Now.ToString("hh:mm tt") }; tr.GetCurrentSession().AddMatch(match); } diff --git a/OWTrack/Tracker.cs b/OWTrack/Tracker.cs index c1f7238..5faf0b0 100644 --- a/OWTrack/Tracker.cs +++ b/OWTrack/Tracker.cs @@ -213,6 +213,7 @@ namespace OWTrack { public Match() { } public DateTime dateTime { get; set; } + public string DateTimeSting; public int StartSR; public int LastMatchSR; public int newSR;