commit | 318d337f9be7eb566e40f42a60d7ddf337837477 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Wed Mar 01 11:54:03 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Wed Mar 01 11:54:03 2023 -0500 |
tree | 753f3818a9f526b4b9eccb2dbc8a87e0e8a3ee42 | |
parent | 0c2728975352278c873dd4be8134065694d28057 [diff] | |
parent | 85b4cc46a01a32fcb061b92615c5daea0561b8a0 [diff] |
Merge branch 'production' of github.com:ClicksMinutePer/clicks.codes into production
diff --git a/pages/api/season.js b/pages/api/season.js index acfb310..fe3e262 100644 --- a/pages/api/season.js +++ b/pages/api/season.js
@@ -37,7 +37,7 @@ } else { // Calculate how many days it has been since each season ended let days = Object.keys(dates).map((str) => daysSinceDate(dates[str][1])) - currentDaysIntoSeason = Math.min(...days); + currentDaysIntoSeason = Math.min(...days) - 1; } return {