JSONata - time picture construct not working?


Hello to JSONata bofs,

This statement does not work:
$fromMillis(($.timestamp), '[D]/[M]/[Y]')
but this one does:

Does this mean that the picture construct per JSONata docs was not implemented in Node-RED?

(re timestamp field, I create that in a prior step, and is in JS timestamp format...)


I guess the reason is that Node-RED implements (at the time of this writing) JSONata version 1.5.4. The functionality you are trying to use is available on JSONata version 1.6.x

See the testing result in JSONata exerciser web page:


JSONata 1.6 was only published this week. We'll pick it up in Node-RED 0.20.

1 Like

Thank you both !!