diff --git a/client/scripts/dashboard.js b/client/scripts/dashboard.js index da2dcfb..fc60425 100644 --- a/client/scripts/dashboard.js +++ b/client/scripts/dashboard.js @@ -84,7 +84,7 @@ Template.dashboard.events({ exp.setHours(4, 0, 0, 0); // Set time to 04:00:00.000 // If 04:00 has already passed today, set it for tomorrow - if (new Date() >= exp) { + if (exp <= new Date()) { exp.setDate(exp.getDate() + 1); } obj.expire = exp;