Skip to content

Support for DateOnly and TimeOnly types #413

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
stefanjaspers opened this issue Dec 22, 2021 · 3 comments · Fixed by #450
Closed

Support for DateOnly and TimeOnly types #413

stefanjaspers opened this issue Dec 22, 2021 · 3 comments · Fixed by #450
Assignees
Labels
Milestone

Comments

@stefanjaspers
Copy link

Hi,

I'm using OData for my Web API and I have entities with a DateOnly and/or TimeOnly property. Sadly, OData doesn't seem to support these types yet. It just returns an empty JSON object for that property, like so:

"FirstAdmissionDate": {}

Is there a workaround to enable OData to handle DateOnly and TimeOnly?

@xuzhg xuzhg added the feature label Dec 27, 2021
@julealgon
Copy link
Contributor

This would be great indeed. FYI this seems very related:

@xuzhg
Copy link
Member

xuzhg commented Jan 20, 2022

@julealgon @stefanjaspers Would you please help review OData/odata.net#450?

@xuzhg xuzhg self-assigned this Jan 20, 2022
@xuzhg xuzhg linked a pull request Jan 20, 2022 that will close this issue
@julealgon
Copy link
Contributor

@xuzhg I assume this is also a milestone 8.0.7 item?

@xuzhg xuzhg added this to the 8.0.7 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants