mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Correct hour display
When unit is minute
This commit is contained in:
parent
30ebf7b266
commit
117bce9c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export default function BarChart({
|
|||
|
||||
switch (unit) {
|
||||
case 'minute':
|
||||
return index % 2 === 0 ? dateFormat(d, 'h:mm', locale) : '';
|
||||
return index % 2 === 0 ? dateFormat(d, 'H:mm', locale) : '';
|
||||
case 'hour':
|
||||
return dateFormat(d, 'ha', locale);
|
||||
case 'day':
|
||||
|
|
|
|||
Loading…
Reference in a new issue