From c71ba6cadba9b5d2c9632c62039f19023eb3e270 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Thu, 13 Jan 2022 12:02:33 +0100 Subject: [PATCH] fix a bug where it used the wrong end date --- MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 764acec..c533a2c 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -118,7 +118,7 @@ namespace EliteBGS { try { journal.Open(); // Load all files var start = startdate.SelectedDate ?? DateTime.Now; - var end = startdate.SelectedDate ?? DateTime.Now; + var end = enddate.SelectedDate ?? DateTime.Now; report.Scan(journal, start, end); RefreshObjectives(); } catch (Exception exception) {