fix a bug where it used the wrong end date

This commit is contained in:
Florian Stinglmayr 2022-01-13 12:02:33 +01:00
parent 2253b87982
commit c71ba6cadb

View File

@ -118,7 +118,7 @@ namespace EliteBGS {
try { try {
journal.Open(); // Load all files journal.Open(); // Load all files
var start = startdate.SelectedDate ?? DateTime.Now; var start = startdate.SelectedDate ?? DateTime.Now;
var end = startdate.SelectedDate ?? DateTime.Now; var end = enddate.SelectedDate ?? DateTime.Now;
report.Scan(journal, start, end); report.Scan(journal, start, end);
RefreshObjectives(); RefreshObjectives();
} catch (Exception exception) { } catch (Exception exception) {