Wizard: Resolve deprecation warning in test output

This resolves the following warning: `Deprecation warning: value provided is not in a recognized RFC2822 or ISO format.` in test output.
This commit is contained in:
regexowl 2024-03-26 09:32:37 +01:00 committed by Lucas Garfield
parent 4ba77d15ad
commit a213bcb014
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ import { toMonthAndYear } from '../../../Utilities/time';
Chart.register(annotationPlugin);
Chart.register(...registerables);
const currentDate = new Date().toString();
const currentDate = new Date().toISOString();
export const chartMajorVersionCfg = {
data: {

View file

@ -26,7 +26,7 @@ import 'chartjs-adapter-moment';
Chart.register(annotationPlugin);
Chart.register(...registerables);
const currentDate = new Date().toString();
const currentDate = new Date().toISOString();
export const chartMajorVersionCfg = {
data: {