From 83b99e06f7c155be9a8bf5c4556ba166f6d3f48c Mon Sep 17 00:00:00 2001
From: Quantum <quantum2048@gmail.com>
Date: Sat, 12 Feb 2022 18:45:57 -0500
Subject: [PATCH] Fix date calculation

---
 src/App.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.tsx b/src/App.tsx
index a638d78..7cd666d 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -29,7 +29,7 @@ class App extends React.Component<{}, AppState> {
     constructor(props: {}) {
         super(props);
         const today = new Date();
-        const todayJDN = gregorianJDN(today.getFullYear(), today.getMonth() + 1, today.getDay());
+        const todayJDN = gregorianJDN(today.getFullYear(), today.getMonth() + 1, today.getDate());
         const {year, month} = jdnFrench(todayJDN);
 
         this.state = {