Skip to content

Commit

Permalink
let let = !var
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Nov 7, 2024
1 parent 0893005 commit 5889f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/scripts/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Template.dashboard.events({
date.setDate(date.getDate() + 1);
obj.expire = date;
} else {
let exp = new Date();
var exp = new Date();
exp.setHours(4, 0, 0, 0); // Set time to 04:00:00.000

// If 04:00 has already passed today, set it for tomorrow
Expand Down

0 comments on commit 5889f31

Please sign in to comment.