Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influx timestamps are in nanoseconds (and end up with a datatype of 'object') but JavaScript/Node-RED want milliseconds #99

Open
juggledad opened this issue Jun 8, 2021 · 0 comments

Comments

@juggledad
Copy link

If you select some rows from influx so the timestamp is returned, it looks great in a Debug node however if you pass it onto a CSV node it gets surrounded by three double quotes.

If you pass the data to a function node and do a 'typeof' on it, it shows up as an object. Would it be possible to divide the timestamps by 1000 so Node-RED would treat them as a timestamp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant