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

Consider using datetime type for 'time' and 'timestamps'. #640

Open
danielballan opened this issue Jan 4, 2021 · 0 comments
Open

Consider using datetime type for 'time' and 'timestamps'. #640

danielballan opened this issue Jan 4, 2021 · 0 comments

Comments

@danielballan
Copy link
Member

We store the times as floating point EPOCH seconds and we present them to the user this way as well. Working with Tatiana recently on data alignment, I found myself wishing for a datetime type, at least in the v2 xarray API. (Changing the type in the documents would be a non-backward-compatible change.)

Related but separate: When we started this project, Mongo had no datetime type. Now it does, and we have proposed to migrate to use it.

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