Fix time axis for node and server view
Nope, the current month is not a valid minute
This commit is contained in:
parent
b8a6a15b08
commit
57d62c4ed3
2 changed files with 2 additions and 2 deletions
|
@ -674,7 +674,7 @@ $(document).ready(function () {
|
||||||
memoryData.push(parseInt(data.stats.memory / (1024 * 1024)));
|
memoryData.push(parseInt(data.stats.memory / (1024 * 1024)));
|
||||||
|
|
||||||
var m = new Date();
|
var m = new Date();
|
||||||
timeLabels.push($.format.date(new Date(), 'HH:MM:ss'));
|
timeLabels.push($.format.date(new Date(), 'HH:mm:ss'));
|
||||||
|
|
||||||
CPUChart.update();
|
CPUChart.update();
|
||||||
MemoryChart.update();
|
MemoryChart.update();
|
||||||
|
|
|
@ -300,7 +300,7 @@ $(window).load(function () {
|
||||||
memoryData.push(parseInt(proc.data.memory.total / (1024 * 1024)));
|
memoryData.push(parseInt(proc.data.memory.total / (1024 * 1024)));
|
||||||
|
|
||||||
var m = new Date();
|
var m = new Date();
|
||||||
timeLabels.push($.format.date(new Date(), 'HH:MM:ss'));
|
timeLabels.push($.format.date(new Date(), 'HH:mm:ss'));
|
||||||
|
|
||||||
CPUChart.update();
|
CPUChart.update();
|
||||||
MemoryChart.update();
|
MemoryChart.update();
|
||||||
|
|
Loading…
Reference in a new issue