xiongzhu %!s(int64=5) %!d(string=hai) anos
pai
achega
0b13742473
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)