I have correctly put in the settings the closing hour

Hi, I have correctly put in the settings the closing hour to be 22:30 but on the front end it show 23:30 . Also including the last appointment the system should not accept a appointment if it pass from 22:50 ( this is the time that the conference room will be closed) can you please explain how i can achieve this?
thks in advance
Jacques