This project is read-only.

WebAPI GET request: ISO date is being deserialized to server local time

Topics: ASP.NET Web API
Oct 17, 2013 at 10:46 AM
An ISO date string "2013-07-22T18:30:00.000Z" should be constructed as UTC kind DateTime. This works correctly with POST request however, when passed as GET request, it is constructed as Local time of the server which is not correct. Is this a known issue or am I missing something? As a workaround I'm making POST instead of GET for all query requests that has date as param.
Oct 23, 2013 at 8:59 PM
Can you please create an issue in our Issue Tracker with a simple project that reproduces the issue so that we can take a look?


Daniel Roth
Oct 24, 2013 at 7:11 AM
Issue created with solution attachment.