This closes #3156
This commit is contained in:
commit
7bda41259a
|
@ -196,7 +196,8 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
}
|
||||
var d = new Date(timestamp);
|
||||
// "yyyy-MM-dd HH:mm:ss"
|
||||
return d.getFullYear() + "-" + pad2(d.getMonth()) + "-" + pad2(d.getDay()) + " " + pad2(d.getHours()) + ":" + pad2(d.getMinutes()) + ":" + pad2(d.getSeconds());
|
||||
//add 1 to month as getmonth returns the position not the actual month
|
||||
return d.getFullYear() + "-" + pad2(d.getMonth() + 1) + "-" + pad2(d.getDay()) + " " + pad2(d.getHours()) + ":" + pad2(d.getMinutes()) + ":" + pad2(d.getSeconds());
|
||||
}
|
||||
|
||||
var typeLabels = ["default", "1", "object", "text", "bytes", "map", "stream", "embedded"];
|
||||
|
|
Loading…
Reference in New Issue