Skip to content

Commit

Permalink
fix: start membership purchases in summer
Browse files Browse the repository at this point in the history
  • Loading branch information
zeyu2001 committed Aug 2, 2024
1 parent 042c0b8 commit 998a4f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vercel
2 changes: 1 addition & 1 deletion src/util/validateData.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const valData = (data) => {
let currMembershipCycle = new Date().getFullYear();
const month = new Date().getMonth();
if (month < 8) {
if (month < 6) {
currMembershipCycle -= 1;
}

Expand Down

0 comments on commit 998a4f6

Please sign in to comment.