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
Format hours in session week table
Harry Oosterveenc0c1138e2edd
diff --git a/src/app/(main)/websites/[websiteId]/sessions/SessionsWeekly.tsx b/src/app/(main)/websites/[websiteId]/sessions/SessionsWeekly.tsxindex 3e15ddfae..c59fd713f 100644--- a/src/app/(main)/websites/[websiteId]/sessions/SessionsWeekly.tsx+++ b/src/app/(main)/websites/[websiteId]/sessions/SessionsWeekly.tsx@@ -40,7 +40,9 @@ export function SessionsWeekly({ websiteId }: { websiteId: string }) {{Array(24).fill(null).map((_, i) => {- const label = format(addHours(startOfDay(new Date()), i), 'haaa');+ const label = format(addHours(startOfDay(new Date()), i), 'p', { locale: dateLocale })+ .replace(/\D00 ?/, '')+ .toLowerCase();return (<div key={i} className={styles.hour}>{label}