{"aliases":["default","es5","modernizr:es5date"],"browsers":{"ie":"6 - 8"},"spec":"http://people.mozilla.org/~jorendorff/es6-draft.html#sec-date.prototype.toisostring","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString","baseDir":"Date/prototype/toISOString","hasTests":true,"rawSource":"\n// Date.prototype.toISOString\nDate.prototype.toISOString = function toISOString() {\n\tvar date = this;\n\n\tfunction pad(str, len) {\n\t\tvar pad = \"0000\";\n\t\tstr = '' + str;\n\t\treturn pad.substr(0, len - str.length) + str\n\t}\n\n\tvar y = date.getUTCFullYear(),\n\tm = pad(date.getUTCMonth() + 1, 2),\n\td = pad(date.getUTCDate(), 2),\n\th = pad(date.getUTCHours(), 2),\n\ti = pad(date.getUTCMinutes(), 2),\n\ts = pad(date.getUTCSeconds(), 2),\n\tms = pad(date.getUTCMilliseconds(), 3);\n\n\treturn y +'-'+ m +'-'+ d + 'T' + h +':'+ i +':'+ s +'.'+ ms +'Z';\n};\n","minSource":"Date.prototype.toISOString=function(){function t(t,e){var n=\"0000\";return t=\"\"+t,n.substr(0,e-t.length)+t}var e=this,n=e.getUTCFullYear(),r=t(e.getUTCMonth()+1,2),g=t(e.getUTCDate(),2),o=t(e.getUTCHours(),2),s=t(e.getUTCMinutes(),2),u=t(e.getUTCSeconds(),2),T=t(e.getUTCMilliseconds(),3);return n+\"-\"+r+\"-\"+g+\"T\"+o+\":\"+s+\":\"+u+\".\"+T+\"Z\"};","detectSource":"'Date' in this && 'toISOString' in Date.prototype"}