Merge pull request #3323 from Cibiyanna26/auth-test
Added tests for /lib/charts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user