diff --git a/index.js b/index.js index 605b271..a1185e4 100644 --- a/index.js +++ b/index.js @@ -341,10 +341,16 @@ console.t = function(n, _) { return ext; }; -console.time = function () { +//Print day, example: 'Sep_8_14' +console.day = function () { return new Extender(moment().format('MMM_D_YY') + spaces($.indentation)); } +//Print time, example '9:14:67 AM' +console.time = function () { + return new Extender(moment().format('h:mm:ss A') + spaces($.indentation)); +} + console.f = function(n, _) { if (!n) {