problem with blocktime

I added some links to change view (am/pm/full time).
So, when some this link is clicked, I update the view of scheduler for specific period.
Full time and pm works fine, but there is a problem with pm: when the scheduler is updated to block the hours during 12h until 24h nothing happens.
The example is in attached file. (1.92 KB)


Please try again using attached file.

Kind regards,
Ilya (6.85 KB)

It didn’t work with ‘am’ view, see the image.
The block times are correct, but it didn’t create correctly the scheduler.

There is problems with month view too.