mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Merge pull request #470 from reithose/master
Correct hour format realtime page
This commit is contained in:
commit
8940b649bc
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export default function BarChart({
|
||||||
|
|
||||||
switch (unit) {
|
switch (unit) {
|
||||||
case 'minute':
|
case 'minute':
|
||||||
return index % 2 === 0 ? dateFormat(d, 'h:mm', locale) : '';
|
return index % 2 === 0 ? dateFormat(d, 'H:mm', locale) : '';
|
||||||
case 'hour':
|
case 'hour':
|
||||||
return dateFormat(d, 'ha', locale);
|
return dateFormat(d, 'ha', locale);
|
||||||
case 'day':
|
case 'day':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue