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

Binary error in dgraph setting a date / time on indexed properties #3

Open
reicheltp opened this issue May 12, 2017 · 0 comments
Open
Labels

Comments

@reicheltp
Copy link
Owner

If you set a datetime on a datetime property which is indexed by dgraph, the whole dgraph db is crashing as Date / time is serialized, another way as dgraph expect it.

Either serialize the date in the right way (Use binary format for time as expected by go
https://golang.org/src/time/time.go [look for marshall]).

Or send as string in ISO8061 format and regex check every string on query if it's a datetime

@reicheltp reicheltp added the bug label May 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant