Skip to content

Commit

Permalink
Fixes berkmancenter#137 - Updated the tool's UI for better accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev Kumar Singh committed Aug 25, 2024
1 parent 59b76f1 commit db347c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SyncedCron.add({
return parser.text('every 1 day');
},
job() {
const twentyNineDaysAgo = new Date(new Date().getTime() - 29 * 24 * 60 * 60 * 1000);
const twentyNineDaysAgo = new Date(new Date().getTime() - 29 * 24 * 60 * 60 * 1000);
const thirtyDaysAgo = new Date(new Date().getTime() - 30 * 24 * 60 * 60 * 1000);
const oldInstances = Instances.find({ lasttouch: { $lt: +twentyNineDaysAgo, $gt: +thirtyDaysAgo } }).fetch();
for (let i = 0; i < oldInstances.length; i++) {
Expand Down

0 comments on commit db347c6

Please sign in to comment.