From eba4a9cd054b1dde5dc0e0bd5a6c31743b0fed45 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Wed, 29 May 2024 23:14:12 -0400 Subject: [PATCH] site: Fix trends tooltips not rendering I changed the name of the formatter but forgot to update all the users. Fix the remaining one. Fixes: a7eee69954ce8458ecd5b9ef3897bd154c832b7c Signed-off-by: Sean Anderson --- trends/site/static/js/trends.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trends/site/static/js/trends.js b/trends/site/static/js/trends.js index a413742..3f7567e 100644 --- a/trends/site/static/js/trends.js +++ b/trends/site/static/js/trends.js @@ -17,7 +17,7 @@ document.addEventListener('DOMContentLoaded', () => { } function create_title(context) { - return time_formatter.format(new Date(data[context[0].dataIndex].time * 1000)); + return datetime_formatter.format(new Date(data[context[0].dataIndex].time * 1000)); } function create_label(context, format) {