ARTEMIS-2786 - fix month in browse console
https://issues.apache.org/jira/browse/ARTEMIS-2786
This commit is contained in:
parent
e000bd44e8
commit
cf9234e95a
|
@ -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