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);