ha-plejd
ha-plejd copied to clipboard
refactor time handling
ping @bnordli maybe this handles the time without needing to configure offset?
It only works if n = n - n.dst()
is replaced with n = n + n.dst()
. It is really peculiar, because my Plejd app currently sets the system time to UTC+3, while my current time zone is UTC+2 (and Norway's standard time is UTC+1).
Very interesting.. mine is the opposite. Then I need to understand this better.. Thanks.