Fix bad reference in make.datetime

This commit is contained in:
pyoor 2017-09-12 22:13:50 -04:00
parent 9d08efb4c7
commit 1c51339e4e

View file

@ -12,12 +12,12 @@ make.datetime = {
} }
}, },
date: function () { // eslint-disable-line no-unused-vars date: function () { // eslint-disable-line no-unused-vars
return this.datetime.object().toDateString() return this.object().toDateString()
}, },
time: function () { // eslint-disable-line no-unused-vars time: function () { // eslint-disable-line no-unused-vars
return this.datetime.object().toTimeString() return this.object().toTimeString()
}, },
iso: function () { // eslint-disable-line no-unused-vars iso: function () { // eslint-disable-line no-unused-vars
return this.datetime.object().toISOString() return this.object().toISOString()
} }
} }