mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #190 - Daylight savings breaks sync (redux)
This commit is contained in:
parent
082481a244
commit
482d79abe3
@ -340,7 +340,10 @@ class runtime_thermostat extends cora\crud {
|
||||
$thermostat['time_zone']
|
||||
),
|
||||
$this->get_utc_datetime(
|
||||
$columns_end['date'] . ' ' . $columns_end['time'],
|
||||
date(
|
||||
'Y-m-d H:i:s',
|
||||
strtotime($columns_end['date'] . ' ' . $columns_end['time'] . ' +1 hour')
|
||||
),
|
||||
$thermostat['time_zone']
|
||||
)
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user