Hello.
I assume there is a bug in the method rd.dates_and_calendars.date_schedule .
When the end date is a public holidays, it returns the day after, if start_date == end_date.
Please, check the code below and advice.
Thanks
Expected behaviour: the list should be empty
If I change the start_date to set it to a working day, then the behaviour is correct.