It happens with Su off;Tu-Fr off;Sa 15:00-20:00;Mo 15:00-20:00
....
return _current_or_next_timespan(new_dt, i=i+1)
File "/home/ramin/workspace/map/POI/humanized_opening_hours/main.py", line 522, in _current_or_next_timespan
return _current_or_next_timespan(new_dt, i=i+1)
File "/home/ramin/workspace/map/POI/humanized_opening_hours/main.py", line 519, in _current_or_next_timespan
new_dt.date()+datetime.timedelta(i),
OverflowError: date value out of range
It happens with
Su off;Tu-Fr off;Sa 15:00-20:00;Mo 15:00-20:00
seems that
Tu-Fr off
is selected here: https://github.com/rezemika/humanized_opening_hours/blob/6016a00908dc7a9a0646205f754077bcb9a7a7ea/humanized_opening_hours/main.py#L500it is fixed changing this line:
https://github.com/rezemika/humanized_opening_hours/blob/6016a00908dc7a9a0646205f754077bcb9a7a7ea/humanized_opening_hours/main.py#L664
to: