From 984ac33d5c1d35ccb480d187313d833fd632d4e7 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 10 Nov 2020 11:46:22 +0100 Subject: [PATCH] ui: subscription: usage chart: render date as ISO 8601 Signed-off-by: Thomas Lamprecht --- www/panel/UsageChart.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/panel/UsageChart.js b/www/panel/UsageChart.js index fc8d9859..e986d95d 100644 --- a/www/panel/UsageChart.js +++ b/www/panel/UsageChart.js @@ -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} %