Closed amatissart closed 5 years ago
opening_hours values such as 2018 Jul 02- 2018 Sep 02 Mo-Su 08:00-20:00 (with limited timespan) cause next_change to raise an OverflowError.
2018 Jul 02- 2018 Sep 02 Mo-Su 08:00-20:00
next_change
This PR suggests to limit the number of iterations to find a date when a "current rule" applies.
It's merged! Thank you for you work! :)
opening_hours values such as
2018 Jul 02- 2018 Sep 02 Mo-Su 08:00-20:00
(with limited timespan) causenext_change
to raise an OverflowError.This PR suggests to limit the number of iterations to find a date when a "current rule" applies.