aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index 41dc409..3edd599 100644
--- a/src/App.js
+++ b/src/App.js
@@ -61,8 +61,8 @@ function App() {
const latest = data[data.length - 1];
const prior = data[data.length - (1 + timeDifference)];
- const lastUpdate = DateTime.fromSQL(latest.last_updated, { zone: "UTC" }).setZone(local);
- const priorUpdate = DateTime.fromSQL(prior.last_updated, { zone: "UTC" }).setZone(local);
+ const lastUpdate = DateTime.fromSQL(latest.last_updated).setZone(local);
+ const priorUpdate = DateTime.fromSQL(prior.last_updated).setZone(local);
// let positiveCases = [];
// for (let i = 5; i < data.length; i++) {
// positiveCases.push({