Graphical Display of Times

Hi Everyone, I’ve read through man pages of the forum and have tried multiple different ways to achieve what i’m trying to do with no luck. Here is what I’m trying to do.

I am trying to display a “bar” type chart that shows when a business is open. I’ve gotten it to highlight correctly for the opening times, but the closing times I can’t get to display correctly. Each hour has 2 blocks… a 0-30min block and a 30-60 min block. The business can only select 30 minute intervals for when they open and close. My close times always highlight past the 30 minute block.

See the attached links for clarification. If anyone can help that would be great.