mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #222 - Data download skips a chunk of data every 7 days
This commit is contained in:
parent
07ee100ba5
commit
a05b2aac60
@ -828,7 +828,7 @@ class runtime extends cora\api {
|
||||
$bytes += fputcsv($output, $runtime_thermostat);
|
||||
}
|
||||
|
||||
$chunk_begin = strtotime('+1 day', $chunk_end);
|
||||
$chunk_begin = $chunk_end;
|
||||
} while ($chunk_end < $download_end);
|
||||
fclose($output);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user