diff --git a/helpers/datearray.js b/helpers/datearray.js deleted file mode 100644 index eea09017..00000000 --- a/helpers/datearray.js +++ /dev/null @@ -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; -}