MCPcopy
hub / github.com/iamkun/dayjs / toISOString

Method toISOString

src/index.js:419–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417 }
418
419 toISOString() {
420 // ie 8 return
421 // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
422 // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
423 return this.$d.toISOString()
424 }
425
426 toString() {
427 return this.$d.toUTCString()

Callers 1

toJSONMethod · 0.95

Calls 1

toISOStringMethod · 0.65

Tested by

no test coverage detected