Skip to content

Scheduling infrastructure for absolutely everyone.

Round available hours if necessary

Bailey Pumfleet7d6a631f5dbe
diff --git a/pages/index.tsx b/pages/index.tsx
index e25d40d300e..2f8d44ddc55 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -27,7 +27,7 @@ export default function Home(props) {
const stats = [
{ name: 'Event Types', stat: props.eventTypeCount },
{ name: 'Integrations', stat: props.integrationCount },
- { name: 'Available Hours', stat: (props.user.endTime - props.user.startTime) / 60 + ' hours' },
+ { name: 'Available Hours', stat: Math.round(((props.user.endTime - props.user.startTime) / 60) * 100) / 100 + ' hours' },
];
let timeline = [];