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.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix: show year instead of epoch
Aitor Alonso2b5429aa1f0d
diff --git a/components/metrics/BarChart.js b/components/metrics/BarChart.jsindex cd7070e88..8e1784dfc 100644--- a/components/metrics/BarChart.js+++ b/components/metrics/BarChart.js@@ -52,6 +52,8 @@ export function BarChart({return dateFormat(d, 'MMM d', locale);case 'month':return dateFormat(d, 'MMM', locale);+ case 'year':+ return dateFormat(d, 'YYY', locale);default:return label;}