Okay, I have a working prototype (which spent way too long to make, why am I coding on an iPad???)
I have quickly realised that the hour markers are not in the wrong place because of a bug, I just misunderstood how the thing would work.
I’ll look into a fix tomorrow but for now (as you can see), it’s late. I need sleep.