Merge pull request #3323 from Cibiyanna26/auth-test

Added tests for /lib/charts
This commit is contained in:
Mike Cao 2025-03-31 20:25:36 -05:00 committed by GitHub
commit 0ad58ec07c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 90 additions and 1 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;
}