Reply To: Date-from-hour and Date-to-hour changing when room changes

Hi Feryaz,

Thanks for the tip.
I am actually using the hourly calendar and have not immediately seen any disadvantage to this change.
Let us hope it stays that way 😀

What I did was the following:

else document.getElementById(‘from-time-hour’).selectedIndex = 12;

else document.getElementById(‘to-time-hour’).selectedIndex = 12;

changed the above 2 lines to

else document.getElementById(‘from-time-hour’).selectedIndex = theDate.getHours();

else document.getElementById(‘to-time-hour’).selectedIndex = theDate.getHours();