diff options
Diffstat (limited to 'utils/platforms/default/lib/date.js')
-rwxr-xr-x | utils/platforms/default/lib/date.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/utils/platforms/default/lib/date.js b/utils/platforms/default/lib/date.js deleted file mode 100755 index 4136d11..0000000 --- a/utils/platforms/default/lib/date.js +++ /dev/null @@ -1,8 +0,0 @@ -// Format a Date object as a string according to a subset of the ISO-8601 standard. -// Useful in Atom. -if (!Date.prototype.toISOString) { - Date.prototype.toISOString = function() { - return (this.getFullYear() + "-" + this.getMonth() + "-" + this.getDate() + "T" + this.getHours() + ":" + this.getMinutes() + ":" + this.getSeconds() + "Z"); - } -} - |