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

Return a DateTime object for a field explicitly defined as DateTime. #110

Open
jmagrippis opened this issue Apr 8, 2016 · 2 comments
Open

Comments

@jmagrippis
Copy link
Contributor

Since we can now pass along a DateTime object as a value when storing an Entity, it would make sense to have it returned as a DateTime object when fetching the Entity, instead of formatting it to a string.

It is worth noting that DateTime's __toString() returns a different format; but this would be a breaking change regardless, as it would break the implementation of anyone checking the value's type.

@tomwalder
Copy link
Owner

I think this could work!

It would be a 3.0 thing (or later) as it will be breaking.

Feel free to +1 as needed!

@tomwalder
Copy link
Owner

@tomwalder tomwalder added this to the 4.0 DateTime support milestone Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants