mirror of
https://github.com/beestat/app.git
synced 2026-05-29 10:32:32 -04:00
Fixed #178 - Time change and why it sucks: A novel
This commit is contained in:
@@ -329,7 +329,11 @@ class runtime_thermostat extends cora\crud {
|
||||
'timestamp' => [
|
||||
'value' => [
|
||||
$this->get_utc_datetime(
|
||||
$columns_begin['date'] . ' ' . $columns_begin['time'],
|
||||
date(
|
||||
'Y-m-d H:i:s',
|
||||
strtotime($columns_begin['date'] . ' ' . $columns_begin['time'] . ' -1 hour')
|
||||
),
|
||||
// $columns_begin['date'] . ' ' . $columns_begin['time'],
|
||||
$thermostat['time_zone']
|
||||
),
|
||||
$this->get_utc_datetime(
|
||||
|
||||
Reference in New Issue
Block a user