var d = new Date("2016-07-28T11:19:50.167");
var n = d.toISOString();
If in firefox, the result is "2016-07-28T17:19:50.167Z"
, but chrome doesn't work only if change input to "2016-07-28 11:19:50.167 PST"
, and the result is also different "2016-07-28T18:19:50.167Z"
, anybody know this?