Reply To: date-from-hour field not taken into account from search form to reservation form


Thanks for the code.

We tried it already but it turns out that it’s not enough to solve our problem.
It seems that the value sent for date-from-min and date-to-min when we have a 2-digits number for minutes works fine, but as soon as we use 00 to 09 it doesn’t work anymore.

We have seen in the script that sends the data that for hours from 00 to 09 that it only uses one digit but for the minutes it sends 2 digits which seems to be what causes the problem.

We managed to fix this bug, you need to modify line 3 and 4 of the previous code you gave us and add
(int) in front of .date