OData filter by datetime bug?

Topics: Web Api
Feb 20, 2012 at 3:40 PM

I have an API method that returns an IQueryable so that I can get the OData support. I am trying to filter based on a datetime field, but I keep getting a parsing error when the system is parsing the filter. I saw that there is a logged bug report for this for the datetimeoffset literal. Does this not work for datetime's also? Anyone happen to know if this is fixed in ASP.Net MVC 4 beta? I'd hate to convert over to that just to find out that it has the same bugs.

BTW, the datetimeoffset bug is work item 121 and describes the exception that I am receiving.