diff --git a/util/convertDateToISOString.js b/util/convertDateToISOString.js index 3f01362..7ee2282 100644 --- a/util/convertDateToISOString.js +++ b/util/convertDateToISOString.js @@ -1,6 +1,3 @@ module.exports = function (date){ - - - return date.getUTCFullYear() + '-' + ('0' + (date.getUTCMonth()+1)).slice(-2) + '-' + ('0' + date.getUTCDate()).slice(-2)+" "+('0' + date.getUTCHours()).slice(-2)+":"+('0' + date.getUTCMinutes()).slice(-2)+":"+('0'+date.getUTCSeconds()).slice(-2); -} \ No newline at end of file +} \ No newline at end of file