From 63564ec0c4dd595e7d8eab764168e179066ce644 Mon Sep 17 00:00:00 2001 From: Ahmedhossamdev Date: Tue, 19 Nov 2024 16:45:54 -0800 Subject: [PATCH] refactor: remove console log from groupStopTimesByHour function --- src/routes/stops/[stopID]/schedule/+page.svelte | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/stops/[stopID]/schedule/+page.svelte b/src/routes/stops/[stopID]/schedule/+page.svelte index ccbc991..ec67740 100644 --- a/src/routes/stops/[stopID]/schedule/+page.svelte +++ b/src/routes/stops/[stopID]/schedule/+page.svelte @@ -43,12 +43,10 @@ expandedItems = schedules.map((_, index) => false); } - // TODO: ADD AM AND PM LOGIC function groupStopTimesByHour(stopTimes) { const grouped = {}; for (let stopTime of stopTimes) { - console.log(stopTime); const date = new Date(stopTime.arrivalTime); const hour = date.getHours(); if (!grouped[hour]) grouped[hour] = [];