Open brjohnstmsft opened 8 years ago
@brjohnstmsft Thanks for report the issue. We will fix it ASAP and release it in 6.16. Thanks!
@LianwMS : looks like this issue is still open even on the latest version of odata. can we have fix for this?
Added to backlog: 1848272
Since this related issue was fixed, the error messages for DateTimeOffset errors have regressed and are no longer accurate or helpful.
Assemblies affected
ODataLib 6.15.
Reproduce steps
These test cases show the problem:
Expected result
The tests above would pass.
Actual result
The error message for both cases is "The DateTimeOffset text '2013-01-01T12:00:00' should be in format 'yyyy-mm-ddThh:mm:ss('.'s+)?(zzzzzz)?' and each field value is within valid range." The pattern given in the error message is incorrect, and the message is not as specific as the old error messages, making it less helpful.