Could you please explain why this particular function is not functioning correctly in Firefox (V 34 latest)? It appears to be working successfully on all other browsers, but 'DatePosted' is displaying as Invalid Date. Do you have any insights on why this might be happening? Any assistance would be greatly appreciated.
//Adjust for local time:
data.Comments.forEach(function (x) {
x.DatePosted = new Date(x.DatePosted.toString().replace("T", " ") + " UTC");
});
Additional Info: x.DatePosted: "2014-11-18T08:06:39.06"