Apr 3, 2022
Like the discussion, but just noting that if I saw someone passing "8am-8pm" or some such in a code review I'd call it out for sure. At the very least I'd have them split it out into separate opens and closes variables which then ensures you have both and as such eliminates an entire class of errors.