From 8987f3cddfbbbb8a13036ee59604cdafc648e56e Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Sat, 25 Oct 2014 17:15:08 +0200 Subject: [PATCH] Switch to ISO Date (shorter) --- lib/console2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/console2.js b/lib/console2.js index 87f4fef..ff2a4db 100644 --- a/lib/console2.js +++ b/lib/console2.js @@ -23,7 +23,7 @@ * @return {String} timestamp to String */ var buildTime = function (timestamp) { - return (new Date(timestamp)).toString() + " "; + return (new Date(timestamp)).toISOString() + " "; }; /** @@ -148,7 +148,7 @@ * Console2.prototype.tag * * Add tags - * @param {String} tag + * @param {*} tag */ Console2.prototype.tag = Console2.prototype.t = function () { var tags = Array.prototype.slice.call(arguments, 0);