Switch to ISO Date (shorter)

This commit is contained in:
Guillaume Wuip 2014-10-25 17:15:08 +02:00
parent c5d042149b
commit 8987f3cddf

View file

@ -23,7 +23,7 @@
* @return {String} timestamp to String * @return {String} timestamp to String
*/ */
var buildTime = function (timestamp) { var buildTime = function (timestamp) {
return (new Date(timestamp)).toString() + " "; return (new Date(timestamp)).toISOString() + " ";
}; };
/** /**
@ -148,7 +148,7 @@
* Console2.prototype.tag * Console2.prototype.tag
* *
* Add tags * Add tags
* @param {String} tag * @param {*} tag
*/ */
Console2.prototype.tag = Console2.prototype.t = function () { Console2.prototype.tag = Console2.prototype.t = function () {
var tags = Array.prototype.slice.call(arguments, 0); var tags = Array.prototype.slice.call(arguments, 0);