xiongzhu 5 years ago
parent
commit
0b13742473
1 changed files with 1 additions and 1 deletions
  1. 1 1
      views/MainWindow.xaml.cs

+ 1 - 1
views/MainWindow.xaml.cs

@@ -99,7 +99,7 @@ namespace DeviceCenter
             JobManager.AddJob(
                 () =>
                 {
-                    DateTime now = DateTime.Now;
+                    DateTime now = DateTime.Now.AddDays(-1);
                     DateTime start = new DateTime(now.Year, now.Month, now.Day, 0, 0, 0);
                     DateTime end = new DateTime(now.Year, now.Month, now.Day, 23, 59, 59);
                     foreach (Device device in devices)