I get a date string in a form "2011-01-27T04:59:00Z"from a web service call. Firefox and Chrome have no problem parsing a string using var d = new Date("2011-01-27T04:59:00Z"), but Safari and IE will not stand behind it.
I can analyze the string myself and pass it to Date.parse()or Date.UTC(), but I wonder why (1) such a mismatch exists among browsers in something as basic as a Date object, and (2) why the open API returns a date string in a format that rejected by Safari and (especially) IE.
source
share