Skip to content

Commit

Permalink
site: Fix trends tooltips not rendering
Browse files Browse the repository at this point in the history
I changed the name of the formatter but forgot to update all the users.
Fix the remaining one.

Fixes: a7eee69
Signed-off-by: Sean Anderson <[email protected]>
  • Loading branch information
Forty-Bot committed May 30, 2024
1 parent 117c6fa commit eba4a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trends/site/static/js/trends.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit eba4a9c

Please sign in to comment.