Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.date.to-iso-string.js 390B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var toISOString = require('../internals/date-to-iso-string');
  4. // `Date.prototype.toISOString` method
  5. // https://tc39.es/ecma262/#sec-date.prototype.toisostring
  6. // PhantomJS / old WebKit has a broken implementations
  7. $({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {
  8. toISOString: toISOString
  9. });