diff --git a/SlnMesnac.WPF/ViewModel/ProdStatisticsViewModel.cs b/SlnMesnac.WPF/ViewModel/ProdStatisticsViewModel.cs index 3997c3d..b971962 100644 --- a/SlnMesnac.WPF/ViewModel/ProdStatisticsViewModel.cs +++ b/SlnMesnac.WPF/ViewModel/ProdStatisticsViewModel.cs @@ -195,7 +195,9 @@ namespace SlnMesnac.WPF.ViewModel { try { - if (EndDate <= BeginDate) + BeginDate = BeginDate.Date; + EndDate = EndDate.AddDays(1).Date; + if (EndDate < BeginDate) { Application.Current.Dispatcher.Invoke(() => {