remove dead code

indiachan-spamvector
Thomas Lynch 2 years ago
parent b226c2e65d
commit 9ab024882e
  1. 12
      helpers/datearray.js

@ -1,12 +0,0 @@
'use strict';
//https://stackoverflow.com/a/4413721
module.exports = (startDate, stopDate) => {
const dateArray = new Array();
let currentDate = startDate;
while (currentDate <= stopDate) {
dateArray.push(new Date (currentDate.valueOf()));
currentDate.setDate(currentDate.getDate() + 1);
}
return dateArray;
}
Loading…
Cancel
Save