diff --git a/index.js b/index.js index c2a72e2..d992cf7 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,6 @@ var prettyBytes = require('prettier-bytes') var jsonParse = require('fast-json-parse') var prettyMs = require('pretty-ms') -var padLeft = require('pad-left') var split = require('split2') var chalk = require('chalk') var nl = '\n' @@ -79,10 +78,7 @@ function PinoColada () { function formatDate () { var date = new Date() - var hours = padLeft(date.getHours().toString(), 2, '0') - var minutes = padLeft(date.getMinutes().toString(), 2, '0') - var seconds = padLeft(date.getSeconds().toString(), 2, '0') - var prettyDate = hours + ':' + minutes + ':' + seconds + var prettyDate = date.toISOString() return chalk.gray(prettyDate) } diff --git a/package.json b/package.json index fa5b301..69825d1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "dependencies": { "chalk": "^2.0.1", "fast-json-parse": "^1.0.2", - "pad-left": "^2.1.0", "pad-right": "^0.2.2", "prettier-bytes": "^1.0.3", "pretty-ms": "^2.1.0",