Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Merge pull request #487 from MoltenCoffee/master

Mike Cao92d4a46a0dfc
diff --cc components/metrics/BarChart.js
index 05353b2b2,ad1f611f8..c39038291
--- a/components/metrics/BarChart.js
+++ b/components/metrics/BarChart.js
@@@ -44,9 -44,9 +44,9 @@@ 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);
+ return timeFormat(d, locale);
case 'day':
if (records > 31) {
if (w <= 500) {