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
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;
}