Hello everyone. I have an array of objects with the following structure:
[{timestamp:1315485284895, value: 45},{timestamp:1315485285583, value: 49},{timestamp:1315485153214, value: 38},.....]
It has around 2000 objects. What I need is an easy way to round down all the timestamps to minutes, I mean, if the timestamp represents: 2022-06-30 16:52:23:86, I have to change it to: 2022-06-30 16:52:00:00
This is because I need to put all my data in a table with other measurements and I have to put values with same timestamp in the same row.
I would prefer to use a change node with a JSONata expression if possible