We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa30e2 commit 0736a7eCopy full SHA for 0736a7e
1 file changed
lib/services/realtimeService.php
@@ -19,8 +19,8 @@ public function __construct()
19
public function readLatestData() {
20
$startTime = date('Y-m-d H:i:s', strtotime("- 65 seconds"));
21
$endTime = date('Y-m-d H:i:s', strtotime("- 5 seconds"));
22
- $startTime = date('Y-m-d H:i:s', strtotime("- 5 hours -60 seconds")); // For testing
23
- $endTime = date('Y-m-d H:i:s', strtotime("- 5 hours"));
+ #$startTime = date('Y-m-d H:i:s', strtotime("- 5 hours -60 seconds")); // For testing
+ #$endTime = date('Y-m-d H:i:s', strtotime("- 5 hours"));
24
$this->latestDataRows = $this->realTimeEnergyDataTbl->getOverviewData($startTime, $endTime, 5);
25
}
26
0 commit comments