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

Incorrect timestamp values inserted #71

Open
victor-ono opened this issue Aug 17, 2023 · 0 comments
Open

Incorrect timestamp values inserted #71

victor-ono opened this issue Aug 17, 2023 · 0 comments

Comments

@victor-ono
Copy link

const now = new Date()

con.ks(
    "insert", 
    "`incoming",
    [
      nodeq.timespan(now),
      nodeq.timestamp(now)
    ]
); 
timespan             timestamp
--------------------------------------------------
0D04:08:00.595000000 2023.08.17D04:08:00.595000064
0D04:08:00.610000000 2023.08.17D04:08:00.610000000
0D04:08:00.612000000 2023.08.17D04:08:00.612000000
0D04:08:00.613000000 2023.08.17D04:08:00.612999936
0D04:08:00.614000000 2023.08.17D04:08:00.614000000
0D04:08:04.616000000 2023.08.17D04:08:04.616000000
0D04:08:04.630000000 2023.08.17D04:08:04.630000000
0D04:08:04.632000000 2023.08.17D04:08:04.632000000
0D04:08:04.633000000 2023.08.17D04:08:04.632999936
0D04:08:04.634000000 2023.08.17D04:08:04.634000000

timespan column values look correct, no "rounding errors". How can I make sure that the timespan part in the timestamp column looks the same?

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