Skip to content

Commit 57d62c4

Browse files
linux-mindDaneEveritt
authored andcommitted
Fix time axis for node and server view
Nope, the current month is not a valid minute
1 parent b8a6a15 commit 57d62c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/admin/nodes/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@
674674
memoryData.push(parseInt(data.stats.memory / (1024 * 1024)));
675675
676676
var m = new Date();
677-
timeLabels.push($.format.date(new Date(), 'HH:MM:ss'));
677+
timeLabels.push($.format.date(new Date(), 'HH:mm:ss'));
678678
679679
CPUChart.update();
680680
MemoryChart.update();

resources/views/server/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
memoryData.push(parseInt(proc.data.memory.total / (1024 * 1024)));
301301
302302
var m = new Date();
303-
timeLabels.push($.format.date(new Date(), 'HH:MM:ss'));
303+
timeLabels.push($.format.date(new Date(), 'HH:mm:ss'));
304304
305305
CPUChart.update();
306306
MemoryChart.update();

0 commit comments

Comments
 (0)