From 53f79e35083b96cd15c57dc32be8d5e5f5d07833 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 29 May 2021 13:36:40 -0700 Subject: Only get fall and spring data --- src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/App.js b/src/App.js index c4dfc7d..9b9c8d8 100644 --- a/src/App.js +++ b/src/App.js @@ -30,7 +30,9 @@ function App() { ); + rawData = rawData.slice(0, 177); let data = rawData; + console.log(data.length); const local = DateTime.local().zoneName; const semesterStart = DateTime.fromISO("2021-01-01"); if (!showAllTime) { @@ -57,7 +59,6 @@ function App() { }); } - console.log(data); const latest = data[data.length - 1]; const prior = data[data.length - (1 + timeDifference)]; const lastUpdate = DateTime.fromSQL(latest.last_updated, { zone: "UTC" }).setZone(local); -- cgit v1.2.3