Open beeing opened 4 years ago
The time taken to generate the dates become slower when the DTSTART is older or further apart.
const s1 = `DTSTART:20180402T064000\nRRULE:FREQ=MINUTELY;INTERVAL=1;BYSECOND=0` const s2 = `DTSTART:20200402T064000\nRRULE:FREQ=MINUTELY;INTERVAL=1;BYSECOND=0` const start = new Date('4/2/2020 2:40:00 PM') const end = new Date('4/2/2020 2:50:00 PM') const rRule = RRule.fromString(s1) // try using s2 const dates = rRule.between(start, end) // time taken varies between s1 and s2 console.log(dates)
tested on:
The time taken to generate the dates become slower when the DTSTART is older or further apart.
tested on: