Found many ways to check if the current hour is within an hour range. But how would you check if the current time is before a minute-specific time like 10:27 pm
Current Code (only compares hours, not minutes):
Time.now.getlocal("-05:00").hour.between?(10, 22)
For example our store hours are 9:24am - 10:27pm
and we want to check if it is currently open.