diff --git a/src/index.js b/src/index.js index e34a920ff..a4ac1c289 100644 --- a/src/index.js +++ b/src/index.js @@ -417,7 +417,7 @@ class Dayjs { // ie 8 return // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000) // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]') - return this.toDate().toISOString() + return this.$d.toISOString() } toObject() {