1
0
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:
Jon Ziebell 2019-11-18 22:03:05 -05:00
parent 082481a244
commit 482d79abe3

View File

@ -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']
)
],