mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
Merge pull request #3323 from Cibiyanna26/auth-test
Added tests for /lib/charts
This commit is contained in:
commit
0ad58ec07c
3 changed files with 90 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue