mirror of
https://github.com/beestat/app.git
synced 2025-08-07 09:01:32 -04:00
Fixed #178 - Time change and why it sucks: A novel
This commit is contained in:
parent
28b0d9dbd8
commit
a8562b6878
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user