diff options
author | Galen Guyer <galen@galenguyer.com> | 2021-05-29 13:36:40 -0700 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2021-05-29 13:41:34 -0700 |
commit | 53f79e35083b96cd15c57dc32be8d5e5f5d07833 (patch) | |
tree | 9a83b918cd269743c2b5421505d4e19de870eb93 | |
parent | 02c1b92276a7cbad43df05b702ce12b40ad6b9b6 (diff) |
Only get fall and spring data
-rw-r--r-- | src/App.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,7 +30,9 @@ function App() { </div> ); + 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); |