Open
Description
Describe the bug
I wanna use dateRange to get an array of dates for every hour between "start" and "end", but instead i'm getting an array of date s only between the initial and final hour without considering the days/months/years between the dates.
If freq = "D" it has the expected behavior.
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/danfo-js-sandbox-forked-1tg1km?file=/src/App.js
- Click on the button "test dateRange"
- In the console there will be three arrays, the first with one element and the second with 10, both of them with freq="H" and the wrong behavior, the third array has the correct behavior when using freq="D"
Expected behavior
When using freq="H" and providing <> and <> the output should be an array with every hour between the two dates.
Desktop (please complete the following information):
- OS: [MacOS Ventura]
- Browser [chrome]
- Version [1.1.2]