Timestamp formatting not working in home assistant nodes

Hi,
Node-RED version 4.0 allows changing the timestamp format:

timestamp

milliseconds since epoch - the existing option
YYYY-MM-DDTHH:mm:ss.sssZ - also known as ISO 8601
JavaScript Date Object - the standard Date object

Inject node works fine:

But in Home Assistant nodes this new feature is not working:

You always get milliseconds since epoch format

I get the same results in a home assistant node. If you need an iso date you can use $now() in a jsonata field.

1 Like