Skip to content

datastore: decoding dates does not load nanos #1607

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

Closed
joel31415 opened this issue Sep 22, 2016 · 0 comments
Closed

datastore: decoding dates does not load nanos #1607

joel31415 opened this issue Sep 22, 2016 · 0 comments
Assignees
Labels
api: datastore Issues related to the Datastore API. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@joel31415
Copy link

The nanos field is set when encoding a date, but not loaded when decoding.

I would expect Dates to be encoded and decoded with millisecond precision.

It seems intentional looking at the unit tests, but I hope it's a bug!

@callmehiphop callmehiphop added api: datastore Issues related to the Datastore API. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants