modifing yyy label, spy reset after each test gets finished

This commit is contained in:
Cibiyanna26 2025-03-25 14:01:03 +05:30
parent 85d89de072
commit 42739c660e
2 changed files with 11 additions and 7 deletions

View file

@ -19,7 +19,7 @@ export function renderDateLabels(unit: string, locale: string) {
case 'month':
return formatDate(d, 'MMM', locale);
case 'year':
return formatDate(d, 'YYY', locale);
return formatDate(d, 'yyyy', locale);
default:
return label;
}