How to display Open/Closed status in jQuery

I created this snippet to use on a local business site to easily display if they are open or closed. It calculates if the store is open or closed based on the current hour/minute. It takes into account lunch break and weekends.

I’ve found it useful and hope you will to.

See the Pen Store Hours – jQuery by Justin Loyed (@JLoyed) on CodePen.