Open Iwerzhon opened 3 months ago
Is anyone currently working on this? If not, I'd like to take a look into it. I was also able to reproduce the bug on Ubuntu 22.04.
Is anyone currently working on this? If not, I'd like to take a look into it. I was also able to reproduce the bug on Ubuntu 22.04.
@rkendra not at the moment, feel free to take it up
Issue Description
Describe the bug, including details regarding any error messages, version, and platform.
Sometimes (based on the start_date/end_date value), some days are missing when splitting a range of dates using
span_range
withframe=month
Doc: https://arrow.readthedocs.io/en/latest/api-guide.html#arrow.arrow.Arrow.span_range
Reproduction
Output
Expected result
We should not miss any day from span_range. However, we... go from
2023-03-27T23:59:59
to2023-03-31T00:00:00+02:00
, missing 3 days (2nd to 3rd value) go from2024-07-29T23:59:59
to2024-07-31T00:00:00+02:00
, missing 1 day (last value)Note :
frame=months
instead offrame=month
exact=True
I am unsure of the difference between
month
andmonths
, but I don't think this is the expected behavior?System Info