Closed andy-clymer closed 2 years ago
Thanks.
Please and two tests each (two different time zones) to GetQueryTests and GetTests showing the expected outcomes (OpsTenant has a DateTime
property).
Sorry about that. For some reason I didn't include my tests in the original PR. I updated them according to your message and are pending your approval.
Thanks for this making this project. It has made working with OData and DTOs incredibly simple.
While testing an OData filter expression using datetime, I discovered an issue with the generated expression used to query the database. I found the issue/fix being discussed on the AspNetCoreOData repo: #268 and have made the necessary changes to resolve the problem.
Brief explanation of issue:
Fix: When using ApplyTo() for building the filter expression, pass in the TimeZoneInfo the server should use to parse the datetime.