ui: subscription: usage chart: render date as ISO 8601
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0a4dfd63c9
commit
984ac33d5c
|
@ -56,6 +56,7 @@ Ext.define('PBS.widget.UsageChart', {
|
|||
renderer: function(tooltip, record, ctx) {
|
||||
if (!record || !record.data) return;
|
||||
let date = new Date(record.data.time);
|
||||
date = Ext.Date.format(date, 'c');
|
||||
let value = (100*record.data.val).toFixed(2);
|
||||
tooltip.setHtml(
|
||||
`${value} %<br />
|
||||
|
|
Loading…
Reference in New Issue