Skip to content

Commit

Permalink
fix: correct variable name for date calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgokcin committed Nov 20, 2024
1 parent 4539b1d commit 86fcc1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ const emojiMap = {
function ColorEvents() {
const isDevelopment = false; // Development flag
var today = new Date();
var nextmonth = new Date();
var nextThreeMonths = new Date();

nextmonth.setDate(nextmonth.getDate() + 31);
nextThreeMonths.setMonth(nextThreeMonths.getMonth() + 3);

var startDate = today;
var endDate = nextmonth;
var endDate = nextThreeMonths;

// Development mode date range override
if (isDevelopment) {
Expand Down

0 comments on commit 86fcc1b

Please sign in to comment.