Das Datum.
Diese Methode wird in IE6/7/8 nicht unterstützt und kann wie folgt behoben werden
Die Codekopie lautet wie folgt:
if (! date.prototype.toisString) {
Date.Prototype.toisoString = function () {
Funktionspad (n) {return n <10? '0' + n: n}
Gibt dies zurück.
+ pad (this.getutcmonth () + 1) + '-' '
+ pad (this.getutcdate ()) + 't'
+ pad (this.getutchours ()) + ':'
+ pad (this.getutcminutes ()) + ':'
+ pad (this.getutcSeconds ()) + '.'
+ pad (this.getutcmilliseconds ()) + 'z';
}
}
Verwandt:
http://msdn.microsoft.com/zh-cn/library/ie/ff925953%28v=vs.94%29.aspx
https://developer.mozilla.org/en-us/docs/web/javascript/reference/global_objects/date