Bug with historical candle for new year switch

There seems to be some bug in 30 min calendar historical API when the dates are spread across two years i.e 2023 and 2024.

Example request

2024-02-11 23:28:07,117:history.py:10 INFO:Lookback range 2023-11-30 to 2024-02-01 with interval '30minute'
2023-12-29 15:15:00+05:30 2023-11-30

As you can see the return range is different that requested range, I noticed this only on 30 min candle.

Same code, same dates works for 1 min candle

2024-02-11 23:31:25,957:history.py:10 INFO:Lookback range 2023-11-30 to 2024-02-01 with interval '1minute'
2024-02-01 15:29:00+05:30 2023-11-30 09:15:00+05:30

This seems a serious issue can you please confirm and fix this asap and request you to add more tests to your api to capture such cases.

Thank you for your feedback. We will check with the relevant team and get back on this.