Entities format:date invalid

iOS application shows “invalid date” while on PC (Firefox) I can see localized date as expected:

PC:

IOS:

Images above show the same Entities card showing entities which are sensors of device_class:timestamp.
Format of each entity on the card is set to: date
Original payload comes from google calendar integration, then is forwarded to new entity maintained by NodeRed (the latter is displayed in the card mentioned above)

HA 0.107.7

I narrowed it down to wrong format of timestamp provided by google calendar integration.
it seems that IOS application is more strict than FF’s JS, requiring ISO formatted date, incl. ‘T’ letter between date and time

I fixed with a template, replacing spaces with T:

{{ states.sensor.speedtest_download.last_changed | timestamp_local | replace(" ","T") }}

2 Likes