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

time format problem #33

Open
birbird opened this issue Jan 7, 2019 · 0 comments
Open

time format problem #33

birbird opened this issue Jan 7, 2019 · 0 comments

Comments

@birbird
Copy link

birbird commented Jan 7, 2019

Hi, thanks a lot for this project.

I have some data like this
image

In InfluxDBStudio, it shows like this
image

Please notice the time column in InfluxDBStudio. I can't figure out why some time shows different from some others. And the exported json and csv are different too.

The exported json is

[
  {
    "time": "2019-01-07T06:13:28.881825Z",
    "amount": 100,
    "price": 4564.1
  },
  {
    "time": "2019-01-07T06:13:28.883825Z",
    "amount": 100,
    "price": 4564.1
  },
  {
    "time": "2019-01-07T06:13:28.885825Z",
    "amount": 100,
    "price": 4564.1
  },
  {
    "time": "2019-01-07T07:18:25.185801717Z",
    "amount": 100,
    "price": 4564.1
  },
  {
    "time": "2019-01-07T07:18:25.915779654Z",
    "amount": 100,
    "price": 4564.1
  },
  {
    "time": "2019-01-07T07:18:41.065480404Z",
    "amount": 100,
    "price": 4564.1
  }
]

The exported csv is

time,amount,price
2019/1/7 6:13:28,100,4564.1
2019/1/7 6:13:28,100,4564.1
2019/1/7 6:13:28,100,4564.1
2019-01-07T07:18:25.185801717Z,100,4564.1
2019-01-07T07:18:25.915779654Z,100,4564.1
2019-01-07T07:18:41.065480404Z,100,4564.1

It seems InfluxDBStudio knows the right time, but lose precision in the table.

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