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:
parent
4ba77d15ad
commit
a213bcb014
2 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue