chunk-date-range icon indicating copy to clipboard operation
chunk-date-range copied to clipboard

Split a date range into chunks of equal size

Results 2 chunk-date-range issues
Sort by recently updated
recently updated
newest added

Would you mind adding types? ``` declare module 'chunk-date-range' { export default function chunkDateRange( start: Date, end: Date, chunkBy: 'day' | 'month' | 'year' | 'hour' | 'minute' | 'second'...

```js var assert = require('assert'); var chunk = require('./'); var Dates = require('date-math'); const getDay = (time, isString) => time.getDate(); const fromDays = days => new Date(new Date() .setDate(getDay(new Date())...