cgarwood/homeassistant-fullykiosk

Sensor last app start uses wrong date/time format

gerard33 opened this issue · 4 comments

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

This also breaks the history when paired with mysql recording.

Uncaught (in promise) RangeError: Invalid time value

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

Copy that. Small issue with a bit of impact.

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