days-in-a-row
Return an array of dates (strings) based on a start date and a number.
Usage
const days = ;const allTheDays = ;/* the result[ '2017-01-01', '2017-01-02', ... '2017-02-13', '2017-02-14' ]*/ // You can then map the results to javascript date objectconst allTheDates = ;// Then something like daylight to format the day for displayvar daylight = ;const prettyDates = allTheDates;/*[ 'Monday, Jan 1st', 'Tuesday, Jan 2nd', ... 'Monday, Feb 13th', 'Tuesday, Feb 14th' ] */