From b78f4ccf260424a4fab7d04565b7aad65059ea28 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Fri, 29 Nov 2019 12:16:43 +0000 Subject: [PATCH] oops --- src/components/Clock.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Clock.jsx b/src/components/Clock.jsx index 0ecf986f..d45e49cb 100644 --- a/src/components/Clock.jsx +++ b/src/components/Clock.jsx @@ -12,7 +12,7 @@ export default class Clock extends React.Component { startTime() { const t = new Date(); // Get the current date - let h = today.getHours(); // Get hours + let h = t.getHours(); // Get hours // const s = today.getSeconds(); if (h > 12) h = h - 12; // Forgot what this does, might remove later if it doesn't do anything