Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Created Issue: WebAPI DateTimeOffset gets serialized in a way that is not readable by IE9 [689]

$
0
0
When serializing a DateTimeOffset type, the payload on the wire is of this format:

2012-11-27T00:36:27.6000243+00:00

There are two problems with this:

1. Because of the milliseconds, IE9 has a problem creating a DateTime type from this string. Things are fine in Chrome and in IE10 so this is likely a bug with the browser. The customer will have to work around by modifying what they get on the wire, which doesn't seem to be possible on the server side.

2. With ISO8601, "Z" is acceptable in the place of +00:00 and would take fewer bytes on the wire.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>