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

Write a point with precision in microseconds not work correctly #49

Closed
thinkUpRoger opened this issue Apr 16, 2020 · 0 comments · Fixed by #47
Closed

Write a point with precision in microseconds not work correctly #49

thinkUpRoger opened this issue Apr 16, 2020 · 0 comments · Fixed by #47

Comments

@thinkUpRoger
Copy link

testing version 3.1.1
with example basic write

if precision is configurare in micro seconds the point is write in 1970 date

#define WRITE_PRECISION WritePrecision::US client.setWriteOptions(WRITE_PRECISION,100,200,180,true);

image

this write a point in 1970
image
Fix in InfluxDBClient.cpp file
image

image

Write correctly date
image

vlastahajek added a commit to bonitoo-io/influxdb-client-for-arduino that referenced this issue Apr 17, 2020
vlastahajek added a commit that referenced this issue Apr 17, 2020
fix: Fixing microsecond precision constant for v1 (#49)
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

Successfully merging a pull request may close this issue.

1 participant