This commit is contained in:
David Ralph
2019-11-29 12:16:43 +00:00
parent 2fa7567cf3
commit b78f4ccf26

View File

@@ -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