cgarwood / homeassistant-fullykiosk

Fully Kiosk Browser integration for Home Assistant
Apache License 2.0
153 stars 27 forks source link

Sensor last app start uses wrong date/time format #84

Closed gerard33 closed 2 years ago

gerard33 commented 2 years ago

The sensor for last app start doesn't use the correct time format so the HA front-end will mix up the day and month order.

The first example is from a sensor with the correct date/time format and the second from this integration. image

This leads to showing 1 September instead of 9 January. image

4g3nt0r4ng3 commented 2 years ago

This also breaks the history when paired with mysql recording.

Uncaught (in promise) RangeError: Invalid time value

Puebllo commented 2 years ago

same problem as @4g3nt0r4ng3 reports. @cgarwood any updates on this topic ?

bcutter commented 2 years ago

Copy that. Small issue with a bit of impact.

chpego commented 2 years ago

if someone has the time to adapt what is in this PR, to fix the bug from here