Closed liuche closed 7 years ago
Yeah, I didn't feel like I wanted to refactor all that, and when I initially tried that approach, it involved de-private-ing a lot of functions that still didn't do exactly what we wanted. Tried to minimize code change here, but filing #618 to clean this up later. (Maybe next week, when we have LOTS OF TIME? :D)
Adds an event times function to the OpenHours class - it's a little hacky because it highly resembles getNextOpeningHours, but refactoring more didn't seem like it had clear benefits, and would touch a lot of code.