I'm using the script below to crate an availability calendar for my website. The guests check-out on a Saturday morning and check-in on Saturday afternoon.
Therefore trying to adapt the code to resemble:
Just cant get the code to look right if two weeks booked together and also the first Unavaiolable cell is always highlighted as the last nth etc.